#9E8D0C

Closest named color: Dark Mustard (#A88905). oklch(63.9% 0.131 100.6), rgb(158, 141, 12).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.131)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text6.26:1
White text3.34:1

Values

HEX#9E8D0C
RGBrgb(158, 141, 12)
HSLhsl(53, 86%, 33%)
OKLCHoklch(63.9% 0.131 100.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 #9E8D0C 3.34:1 AA large text Lc -66.2 Content text, not long reading
Black text on #9E8D0C 6.26:1 AA Lc 43.3 Non-text elements, placeholder text
#9E8D0C text on white 3.34:1 AA large text Lc 60.8 Content text, not long reading
#9E8D0C text on black 6.26:1 AA Lc -40.9 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

    #F6F6EF

    oklch(97.1% 0.009 106.6)

  2. Step 100

    100

    #ECEADD

    oklch(93.5% 0.017 99.6)

  3. Step 200

    200

    #DEDAC0

    oklch(88.5% 0.035 99.9)

  4. Step 300

    300

    #C9C293

    oklch(80.8% 0.063 100.6)

  5. Step 400

    400

    #AFA253

    oklch(70.7% 0.102 100.1)

  6. Step 500

    500 (this color)

    #9E8D0C

    oklch(63.9% 0.131 100.6)

  7. Step 600

    600

    #837400

    oklch(55.6% 0.116 100.3)

  8. Step 700

    700

    #6E6100

    oklch(49% 0.102 100.2)

  9. Step 800

    800

    #5A5000

    oklch(42.8% 0.089 101.1)

  10. Step 900

    900

    #4B4200

    oklch(37.7% 0.078 100.6)

  11. Step 950

    950

    #2C2702

    oklch(27% 0.054 101.6)

Export this scale for Tailwind in the Tailwind colors tool

#9E8D0C 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)#9C89000.011
Deuteranopia (no green cones)#A18F1B0.009
Tritanopia (no blue cones)#AB82780.120
Achromatopsia (no color)#8C8C8C0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E8D0C

    #9E8D0C

    oklch(63.9% 0.131 100.6)

  • #7E81D9

    #7E81D9

    oklch(63.9% 0.131 280.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E8D0C

    #9E8D0C

    oklch(63.9% 0.131 100.6)

  • #BD7C1A

    #BD7C1A

    oklch(63.9% 0.13 70.5)

  • #709B40

    #709B40

    oklch(63.8% 0.13 130.5)

Open the analogous palette in the generator

Split complementary

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

  • #9E8D0C

    #9E8D0C

    oklch(63.9% 0.131 100.6)

  • #4890D8

    #4890D8

    oklch(64% 0.131 250.6)

  • #A573C6

    #A573C6

    oklch(63.9% 0.131 310.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E8D0C

    #9E8D0C

    oklch(63.9% 0.131 100.6)

  • #009BBD

    #009BBD

    oklch(63.8% 0.117 220.7)

  • #C06AA4

    #C06AA4

    oklch(64% 0.131 340.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E8D0C

    #9E8D0C

    oklch(63.9% 0.131 100.6)

  • #00A19B

    #00A19B

    oklch(64% 0.11 190.1)

  • #7E81D9

    #7E81D9

    oklch(63.9% 0.131 280.5)

  • #CE6779

    #CE6779

    oklch(64% 0.131 10.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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