#9E840F

Closest named color: Dark Mustard (#A88905). oklch(62% 0.124 94.5), rgb(158, 132, 15).

Aa

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

About this color

#9E840F 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.76:1.

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

Values

HEX#9E840F
RGBrgb(158, 132, 15)
HSLhsl(49, 83%, 34%)
OKLCHoklch(62% 0.124 94.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 #9E840F 3.64:1 AA large text Lc -69.4 Content text, not long reading
Black text on #9E840F 5.76:1 AA Lc 40.2 Non-text elements, placeholder text
#9E840F text on white 3.64:1 AA large text Lc 63.9 Content text, not long reading
#9E840F text on black 5.76: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

    #CDC195

    oklch(81% 0.06 94.6)

  5. Step 400

    400

    #B4A056

    oklch(70.7% 0.097 94.6)

  6. Step 500

    500 (this color)

    #9E840F

    oklch(62% 0.124 94.5)

  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

    #2E2604

    oklch(27% 0.051 95.6)

Export this scale for Tailwind in the Tailwind colors tool

#9E840F 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.020
Deuteranopia (no green cones)#9A891A0.014
Tritanopia (no blue cones)#AC78700.114
Achromatopsia (no color)#8686860.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E840F

    #9E840F

    oklch(62% 0.124 94.5)

  • #707FD0

    #707FD0

    oklch(62% 0.123 274.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E840F

    #9E840F

    oklch(62% 0.124 94.5)

  • #B87426

    #B87426

    oklch(61.9% 0.123 64.7)

  • #769236

    #769236

    oklch(61.9% 0.123 124.3)

Open the analogous palette in the generator

Split complementary

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

  • #9E840F

    #9E840F

    oklch(62% 0.124 94.5)

  • #398DCB

    #398DCB

    oklch(62.1% 0.124 244.2)

  • #9772C2

    #9772C2

    oklch(62.1% 0.123 304.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E840F

    #9E840F

    oklch(62% 0.124 94.5)

  • #0096AE

    #0096AE

    oklch(61.9% 0.109 214.3)

  • #B368A4

    #B368A4

    oklch(62.1% 0.123 334.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E840F

    #9E840F

    oklch(62% 0.124 94.5)

  • #009B8E

    #009B8E

    oklch(62% 0.109 184.5)

  • #707FD0

    #707FD0

    oklch(62% 0.123 274.3)

  • #C2637D

    #C2637D

    oklch(61.8% 0.124 4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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