#9F8F1D

Closest named color: Dark Mustard (#A88905). oklch(64.5% 0.126 100.7), rgb(159, 143, 29).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (65%)
Chromamoderately saturated (0.126)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text6.42:1
White text3.27:1

Values

HEX#9F8F1D
RGBrgb(159, 143, 29)
HSLhsl(53, 69%, 37%)
OKLCHoklch(64.5% 0.126 100.7)

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 #9F8F1D 3.27:1 AA large text Lc -65.3 Content text, not long reading
Black text on #9F8F1D 6.42:1 AA Lc 44.2 Non-text elements, placeholder text
#9F8F1D text on white 3.27:1 AA large text Lc 59.9 Large or bold text, headings
#9F8F1D text on black 6.42:1 AA Lc -41.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

    #F6F6EF

    oklch(97.1% 0.009 106.6)

  2. Step 100

    100

    #ECEADD

    oklch(93.5% 0.017 99.6)

  3. Step 200

    200

    #DEDAC1

    oklch(88.5% 0.034 99.6)

  4. Step 300

    300

    #C9C294

    oklch(80.8% 0.062 100.4)

  5. Step 400

    400

    #AEA256

    oklch(70.6% 0.098 100.5)

  6. Step 500

    500 (this color)

    #9F8F1D

    oklch(64.5% 0.126 100.7)

  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

    #2C2704

    oklch(27% 0.052 101.1)

Export this scale for Tailwind in the Tailwind colors tool

#9F8F1D 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)#9D8B000.013
Deuteranopia (no green cones)#A291260.009
Tritanopia (no blue cones)#AC847A0.115
Achromatopsia (no color)#8E8E8E0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F8F1D

    #9F8F1D

    oklch(64.5% 0.126 100.7)

  • #8083D8

    #8083D8

    oklch(64.4% 0.126 280.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F8F1D

    #9F8F1D

    oklch(64.5% 0.126 100.7)

  • #BD7F25

    #BD7F25

    oklch(64.5% 0.126 71.1)

  • #739D46

    #739D46

    oklch(64.6% 0.126 130.6)

Open the analogous palette in the generator

Split complementary

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

  • #9F8F1D

    #9F8F1D

    oklch(64.5% 0.126 100.7)

  • #4D92D7

    #4D92D7

    oklch(64.6% 0.125 250.4)

  • #A676C6

    #A676C6

    oklch(64.5% 0.126 310.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F8F1D

    #9F8F1D

    oklch(64.5% 0.126 100.7)

  • #009DC0

    #009DC0

    oklch(64.5% 0.118 221.1)

  • #C06DA5

    #C06DA5

    oklch(64.5% 0.126 340.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F8F1D

    #9F8F1D

    oklch(64.5% 0.126 100.7)

  • #00A39D

    #00A39D

    oklch(64.6% 0.111 190.2)

  • #8083D8

    #8083D8

    oklch(64.4% 0.126 280.7)

  • #CE6A7B

    #CE6A7B

    oklch(64.5% 0.127 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 #9F8F1D, closest first.

Similar named colors

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

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