#9F8A40

Closest named color: Dark Tan (#AF884A). oklch(63.7% 0.097 93.6), rgb(159, 138, 64).

Aa

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

About this color

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

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

Values

HEX#9F8A40
RGBrgb(159, 138, 64)
HSLhsl(47, 43%, 44%)
OKLCHoklch(63.7% 0.097 93.6)

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 #9F8A40 3.39:1 AA large text Lc -66.8 Content text, not long reading
Black text on #9F8A40 6.18:1 AA Lc 42.7 Non-text elements, placeholder text
#9F8A40 text on white 3.39:1 AA large text Lc 61.4 Content text, not long reading
#9F8A40 text on black 6.18:1 AA Lc -40.3 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

    #CBC19E

    oklch(81% 0.048 94)

  5. Step 400

    400

    #B0A069

    oklch(70.7% 0.076 93.8)

  6. Step 500

    500 (this color)

    #9F8A40

    oklch(63.7% 0.097 93.6)

  7. Step 600

    600

    #887118

    oklch(55.5% 0.105 93.4)

  8. Step 700

    700

    #735F06

    oklch(49.1% 0.099 94.2)

  9. Step 800

    800

    #5E4E0D

    oklch(42.8% 0.082 94.1)

  10. Step 900

    900

    #4D4115

    oklch(37.8% 0.063 93.8)

  11. Step 950

    950

    #2D260E

    oklch(27% 0.04 93.3)

Export this scale for Tailwind in the Tailwind colors tool

#9F8A40 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)#9788390.016
Deuteranopia (no green cones)#9C8E430.011
Tritanopia (no blue cones)#AB807A0.090
Achromatopsia (no color)#8B8B8B0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F8A40

    #9F8A40

    oklch(63.7% 0.097 93.6)

  • #7887C6

    #7887C6

    oklch(63.7% 0.096 273.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F8A40

    #9F8A40

    oklch(63.7% 0.097 93.6)

  • #B57E49

    #B57E49

    oklch(63.8% 0.097 63.5)

  • #7F9551

    #7F9551

    oklch(63.6% 0.097 123.8)

Open the analogous palette in the generator

Split complementary

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

  • #9F8A40

    #9F8A40

    oklch(63.7% 0.097 93.6)

  • #5492C2

    #5492C2

    oklch(63.8% 0.097 243.5)

  • #987CBC

    #987CBC

    oklch(63.7% 0.098 303.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F8A40

    #9F8A40

    oklch(63.7% 0.097 93.6)

  • #319AAF

    #319AAF

    oklch(63.6% 0.097 214)

  • #AF75A4

    #AF75A4

    oklch(63.8% 0.096 333.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F8A40

    #9F8A40

    oklch(63.7% 0.097 93.6)

  • #349E91

    #349E91

    oklch(63.6% 0.097 183.5)

  • #7887C6

    #7887C6

    oklch(63.7% 0.096 273.2)

  • #BD7285

    #BD7285

    oklch(63.9% 0.097 3.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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