#9E840C

Closest named color: Dark Mustard (#A88905). oklch(61.9% 0.124 94.6), rgb(158, 132, 12).

Aa

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

About this color

#9E840C is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.124 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.022 away. Black text reads best on it, at 5.75:1.

Hue familyYellows
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.124)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text5.75:1
White text3.64:1

Values

HEX#9E840C
RGBrgb(158, 132, 12)
HSLhsl(49, 86%, 33%)
OKLCHoklch(61.9% 0.124 94.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 #9E840C 3.64:1 AA large text Lc -69.4 Content text, not long reading
Black text on #9E840C 5.75:1 AA Lc 40.2 Non-text elements, placeholder text
#9E840C text on white 3.64:1 AA large text Lc 63.9 Content text, not long reading
#9E840C text on black 5.75:1 AA Lc -37.8 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

    #F7F5EF

    oklch(97% 0.008 91.5)

  2. Step 100

    100

    #EDEADD

    oklch(93.6% 0.018 96.1)

  3. Step 200

    200

    #E0D9C1

    oklch(88.4% 0.033 93.5)

  4. Step 300

    300

    #CDC194

    oklch(81% 0.061 94.9)

  5. Step 400

    400

    #B4A056

    oklch(70.7% 0.097 94.6)

  6. Step 500

    500 (this color)

    #9E840C

    oklch(61.9% 0.124 94.6)

  7. Step 600

    600

    #897100

    oklch(55.5% 0.114 94.1)

  8. Step 700

    700

    #735F00

    oklch(49.1% 0.101 94.6)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #2E2603

    oklch(27% 0.052 96)

Export this scale for Tailwind in the Tailwind colors tool

#9E840C 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)#9481000.019
Deuteranopia (no green cones)#9A89190.013
Tritanopia (no blue cones)#AC78700.115
Achromatopsia (no color)#8686860.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E840C

    #9E840C

    oklch(61.9% 0.124 94.6)

  • #707FD0

    #707FD0

    oklch(62% 0.123 274.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E840C

    #9E840C

    oklch(61.9% 0.124 94.6)

  • #B97425

    #B97425

    oklch(62% 0.125 64.5)

  • #759236

    #759236

    oklch(61.8% 0.124 124.8)

Open the analogous palette in the generator

Split complementary

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

  • #9E840C

    #9E840C

    oklch(61.9% 0.124 94.6)

  • #398CCB

    #398CCB

    oklch(61.8% 0.124 244.9)

  • #9771C2

    #9771C2

    oklch(61.9% 0.125 304.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E840C

    #9E840C

    oklch(61.9% 0.124 94.6)

  • #0096AF

    #0096AF

    oklch(62% 0.109 215)

  • #B367A4

    #B367A4

    oklch(61.9% 0.125 334.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E840C

    #9E840C

    oklch(61.9% 0.124 94.6)

  • #009B8E

    #009B8E

    oklch(62% 0.109 184.5)

  • #707FD0

    #707FD0

    oklch(62% 0.123 274.3)

  • #C3637C

    #C3637C

    oklch(62% 0.125 4.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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