#9A971F

Closest named color: Pea Soup (#929901). oklch(65.8% 0.133 108), rgb(154, 151, 31).

Aa

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

About this color

#9A971F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 66%, its chroma 0.133 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.018 away. Black text reads best on it, at 6.82:1.

Hue familyYellows
Lightnessmedium-light (66%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest namePea Soup (#929901)
Black text6.82:1
White text3.07:1

Values

HEX#9A971F
RGBrgb(154, 151, 31)
HSLhsl(59, 66%, 36%)
OKLCHoklch(65.8% 0.133 108)

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 #9A971F 3.07:1 AA large text Lc -63.0 Content text, not long reading
Black text on #9A971F 6.82:1 AA Lc 46.5 Large or bold text, headings
#9A971F text on white 3.07:1 AA large text Lc 57.6 Large or bold text, headings
#9A971F text on black 6.82:1 AA Lc -44.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

    #EBEBDD

    oklch(93.6% 0.019 106.8)

  3. Step 200

    200

    #DBDBC0

    oklch(88.4% 0.036 107.1)

  4. Step 300

    300

    #C4C494

    oklch(80.8% 0.064 107.8)

  5. Step 400

    400

    #A7A555

    oklch(70.6% 0.103 107.5)

  6. Step 500

    500 (this color)

    #9A971F

    oklch(65.8% 0.133 108)

  7. Step 600

    600

    #7B7800

    oklch(55.7% 0.12 108)

  8. Step 700

    700

    #676400

    oklch(49% 0.105 107.7)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #292803

    oklch(26.9% 0.054 108)

Export this scale for Tailwind in the Tailwind colors tool

#9A971F 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)#A491000.020
Deuteranopia (no green cones)#A6952A0.022
Tritanopia (no blue cones)#A68D810.120
Achromatopsia (no color)#9393930.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A971F

    #9A971F

    oklch(65.8% 0.133 108)

  • #8E83DE

    #8E83DE

    oklch(65.8% 0.133 287.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A971F

    #9A971F

    oklch(65.8% 0.133 108)

  • #BE8613

    #BE8613

    oklch(65.9% 0.133 78)

  • #67A451

    #67A451

    oklch(65.7% 0.132 138)

Open the analogous palette in the generator

Split complementary

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

  • #9A971F

    #9A971F

    oklch(65.8% 0.133 108)

  • #5C92E2

    #5C92E2

    oklch(65.8% 0.133 258.1)

  • #B376C6

    #B376C6

    oklch(65.9% 0.132 317.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A971F

    #9A971F

    oklch(65.8% 0.133 108)

  • #00A0CF

    #00A0CF

    oklch(65.9% 0.128 227.9)

  • #CC6DA0

    #CC6DA0

    oklch(65.8% 0.134 348)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A971F

    #9A971F

    oklch(65.8% 0.133 108)

  • #00A6AA

    #00A6AA

    oklch(65.8% 0.112 197.8)

  • #8E83DE

    #8E83DE

    oklch(65.8% 0.133 287.7)

  • #D66D73

    #D66D73

    oklch(65.8% 0.132 17.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9A971F.

Similar named colors

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

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