#9F872D

Closest named color: Dark Mustard (#A88905). oklch(62.9% 0.111 93.8), rgb(159, 135, 45).

Aa

Black text reads best on this color (5.97:1).

About this color

#9F872D is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.111 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.023 away. Black text reads best on it, at 5.97:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.111)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text5.97:1
White text3.51:1

Values

HEX#9F872D
RGBrgb(159, 135, 45)
HSLhsl(47, 56%, 40%)
OKLCHoklch(62.9% 0.111 93.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #9F872D 3.51:1 AA large text Lc -68.1 Content text, not long reading
Black text on #9F872D 5.97:1 AA Lc 41.5 Non-text elements, placeholder text
#9F872D text on white 3.51:1 AA large text Lc 62.6 Content text, not long reading
#9F872D text on black 5.97:1 AA Lc -39.1 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EDEADE

    oklch(93.6% 0.016 95.2)

  3. Step 200

    200

    #DFD9C3

    oklch(88.4% 0.03 94.4)

  4. Step 300

    300

    #CCC199

    oklch(81% 0.055 94.5)

  5. Step 400

    400

    #B2A060

    oklch(70.7% 0.086 94.2)

  6. Step 500

    500 (this color)

    #9F872D

    oklch(62.9% 0.111 93.8)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4E4008

    oklch(37.6% 0.072 93.7)

  11. Step 950

    950

    #2E2609

    oklch(27.1% 0.045 93.6)

Export this scale for Tailwind in the Tailwind colors tool

#9F872D with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#9585200.020
Deuteranopia (no green cones)#9B8C320.014
Tritanopia (no blue cones)#AC7C750.102
Achromatopsia (no color)#8989890.111

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #9F872D

    #9F872D

    oklch(62.9% 0.111 93.8)

  • #7483CC

    #7483CC

    oklch(62.9% 0.111 274)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F872D

    #9F872D

    oklch(62.9% 0.111 93.8)

  • #B7793A

    #B7793A

    oklch(62.9% 0.11 63.7)

  • #7B9444

    #7B9444

    oklch(62.9% 0.111 123.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #9F872D

    #9F872D

    oklch(62.9% 0.111 93.8)

  • #478FC7

    #478FC7

    oklch(62.8% 0.111 244.4)

  • #9777BF

    #9777BF

    oklch(62.8% 0.111 303.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F872D

    #9F872D

    oklch(62.9% 0.111 93.8)

  • #0099B1

    #0099B1

    oklch(62.8% 0.11 214)

  • #B16EA5

    #B16EA5

    oklch(62.9% 0.112 333.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F872D

    #9F872D

    oklch(62.9% 0.111 93.8)

  • #069E90

    #069E90

    oklch(62.9% 0.111 183.8)

  • #7483CC

    #7483CC

    oklch(62.9% 0.111 274)

  • #C06B81

    #C06B81

    oklch(63% 0.11 4.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #9F872D, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #9F872D in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.