#9F9012

Closest named color: Dark Mustard (#A88905). oklch(64.7% 0.131 101.7), rgb(159, 144, 18).

Aa

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

About this color

#9F9012 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.131 and its hue 102°. 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 6.47:1.

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

Values

HEX#9F9012
RGBrgb(159, 144, 18)
HSLhsl(54, 80%, 35%)
OKLCHoklch(64.7% 0.131 101.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 #9F9012 3.24:1 AA large text Lc -65.0 Content text, not long reading
Black text on #9F9012 6.47:1 AA Lc 44.5 Non-text elements, placeholder text
#9F9012 text on white 3.24:1 AA large text Lc 59.6 Large or bold text, headings
#9F9012 text on black 6.47:1 AA Lc -42.2 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

    #ECEBDD

    oklch(93.7% 0.019 103.4)

  3. Step 200

    200

    #DDDAC0

    oklch(88.4% 0.035 101.7)

  4. Step 300

    300

    #C9C393

    oklch(81% 0.064 101.7)

  5. Step 400

    400

    #AEA353

    oklch(70.8% 0.103 101.6)

  6. Step 500

    500 (this color)

    #9F9012

    oklch(64.7% 0.131 101.7)

  7. Step 600

    600

    #827500

    oklch(55.7% 0.116 101.7)

  8. Step 700

    700

    #6D6200

    oklch(49.1% 0.103 101.8)

  9. Step 800

    800

    #595000

    oklch(42.7% 0.089 102)

  10. Step 900

    900

    #4A4200

    oklch(37.6% 0.079 101.6)

  11. Step 950

    950

    #2C2702

    oklch(27% 0.054 101.6)

Export this scale for Tailwind in the Tailwind colors tool

#9F9012 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)#9F8B000.013
Deuteranopia (no green cones)#A3911F0.009
Tritanopia (no blue cones)#AC857A0.119
Achromatopsia (no color)#8F8F8F0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F9012

    #9F9012

    oklch(64.7% 0.131 101.7)

  • #8283DC

    #8283DC

    oklch(64.8% 0.131 281.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F9012

    #9F9012

    oklch(64.7% 0.131 101.7)

  • #BF7F1A

    #BF7F1A

    oklch(64.7% 0.131 71.8)

  • #709E44

    #709E44

    oklch(64.6% 0.131 131.7)

Open the analogous palette in the generator

Split complementary

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

  • #9F9012

    #9F9012

    oklch(64.7% 0.131 101.7)

  • #4C92DB

    #4C92DB

    oklch(64.7% 0.131 251.4)

  • #A875C8

    #A875C8

    oklch(64.6% 0.131 311.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F9012

    #9F9012

    oklch(64.7% 0.131 101.7)

  • #009EC2

    #009EC2

    oklch(64.8% 0.119 221.6)

  • #C36CA5

    #C36CA5

    oklch(64.7% 0.131 341.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F9012

    #9F9012

    oklch(64.7% 0.131 101.7)

  • #00A39F

    #00A39F

    oklch(64.6% 0.111 191.7)

  • #8283DC

    #8283DC

    oklch(64.8% 0.131 281.6)

  • #D16979

    #D16979

    oklch(64.7% 0.132 11.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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