#hexpedia

Closest to Dark Khaki

#9B8F55

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX9B8F55
HEX with ##9B8F55
RGBrgb(155, 143, 85)
RGBArgba(155, 143, 85, 1)
HSLhsl(49.71 29.17% 47.06%)
HSLAhsla(49.71, 29.17%, 47.06%, 1)
HSVhsv(49.71, 45.16%, 60.78%)
CMYKcmyk(0%, 7.74%, 45.16%, 39.22%)
OKLCHoklch(64.71% 0.0791 97.94)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

3.25:1

AA large

Black text

6.45:1

AA normal

Reference notes

As a reference color, #9B8F55 reads as balanced yellow, with Dark Khaki as its nearest named anchor. Because the hue is approximately 50 degrees, it belongs to the yellow family rather than a neutral family, even when used in small interface details. When documenting the color, keep the hex value as the canonical reference and treat the warm family label as a practical visual description rather than a fixed rule. The contrast checks on this page show whether it is more reliable with black text or white text, which is usually the first practical decision before using the color in UI. The modification grid is useful for finding a border, hover, or background companion without changing the underlying hue family too aggressively. For data visualization, avoid relying on this color alone; combine it with spacing, labels, or pattern differences so meaning is not carried only by hue. Use it for backgrounds, supporting UI surfaces, editorial layouts, and restrained visual systems. Check contrast before placing body text on top of it, and pair it with nearby analogous colors when the design should stay calm.