#9F8941

Closest named color: Dark Tan (#AF884A). oklch(63.5% 0.096 92.5), rgb(159, 137, 65).

Aa

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

About this color

#9F8941 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.096 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Tan (#AF884A), ΔE 0.029 away. Black text reads best on it, at 6.12:1.

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.096)
Temperaturewarm
Nearest nameDark Tan (#AF884A)
Black text6.12:1
White text3.42:1

Values

HEX#9F8941
RGBrgb(159, 137, 65)
HSLhsl(46, 42%, 44%)
OKLCHoklch(63.5% 0.096 92.5)

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 #9F8941 3.42:1 AA large text Lc -67.2 Content text, not long reading
Black text on #9F8941 6.12:1 AA Lc 42.4 Non-text elements, placeholder text
#9F8941 text on white 3.42:1 AA large text Lc 61.7 Content text, not long reading
#9F8941 text on black 6.12:1 AA Lc -40.0 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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EDEAE0

    oklch(93.7% 0.014 93)

  3. Step 200

    200

    #DFD9C6

    oklch(88.5% 0.026 92.4)

  4. Step 300

    300

    #CBC09F

    oklch(80.8% 0.046 91.8)

  5. Step 400

    400

    #B1A06A

    oklch(70.8% 0.075 92.6)

  6. Step 500

    500 (this color)

    #9F8941

    oklch(63.5% 0.096 92.5)

  7. Step 600

    600

    #89711B

    oklch(55.6% 0.104 92.3)

  8. Step 700

    700

    #745E0B

    oklch(49% 0.096 92.1)

  9. Step 800

    800

    #5E4D0F

    oklch(42.6% 0.08 92.6)

  10. Step 900

    900

    #4D4016

    oklch(37.6% 0.062 91.9)

  11. Step 950

    950

    #2D260E

    oklch(27% 0.04 93.3)

Export this scale for Tailwind in the Tailwind colors tool

#9F8941 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)#96873A0.018
Deuteranopia (no green cones)#9C8D440.011
Tritanopia (no blue cones)#AB7F790.088
Achromatopsia (no color)#8B8B8B0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F8941

    #9F8941

    oklch(63.5% 0.096 92.5)

  • #7787C5

    #7787C5

    oklch(63.6% 0.095 272.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F8941

    #9F8941

    oklch(63.5% 0.096 92.5)

  • #B47D4A

    #B47D4A

    oklch(63.5% 0.096 62.5)

  • #809450

    #809450

    oklch(63.5% 0.096 122.6)

Open the analogous palette in the generator

Split complementary

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

  • #9F8941

    #9F8941

    oklch(63.5% 0.096 92.5)

  • #5391C0

    #5391C0

    oklch(63.4% 0.096 243)

  • #967CBB

    #967CBB

    oklch(63.5% 0.096 302.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F8941

    #9F8941

    oklch(63.5% 0.096 92.5)

  • #339AAD

    #339AAD

    oklch(63.6% 0.096 212.5)

  • #AD75A4

    #AD75A4

    oklch(63.6% 0.095 332.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F8941

    #9F8941

    oklch(63.5% 0.096 92.5)

  • #379D90

    #379D90

    oklch(63.4% 0.095 183.3)

  • #7787C5

    #7787C5

    oklch(63.6% 0.095 272.4)

  • #BB7185

    #BB7185

    oklch(63.4% 0.096 2.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9F8941 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.