#977A02

Closest named color: Hazel (#8E7618). oklch(59% 0.12 92), rgb(151, 122, 2).

Aa

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

About this color

#977A02 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.120 and its hue 92°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.021 away. Black text reads best on it, at 5.10:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.120)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text5.10:1
White text4.11:1

Values

HEX#977A02
RGBrgb(151, 122, 2)
HSLhsl(48, 97%, 30%)
OKLCHoklch(59% 0.12 92)

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 #977A02 4.11:1 AA large text Lc -73.6 Content text, not long reading
Black text on #977A02 5.10:1 AA Lc 36.0 Non-text elements, placeholder text
#977A02 text on white 4.11:1 AA large text Lc 68.1 Content text, not long reading
#977A02 text on black 5.10:1 AA Lc -33.6 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 600.

  1. Step 50

    50

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EDEADE

    oklch(93.6% 0.016 95.2)

  3. Step 200

    200

    #E0D9C3

    oklch(88.5% 0.03 92.3)

  4. Step 300

    300

    #CDC099

    oklch(80.9% 0.054 91.8)

  5. Step 400

    400

    #B49F60

    oklch(70.7% 0.086 91.6)

  6. Step 500

    500

    #A1872E

    oklch(63.1% 0.11 92.4)

  7. Step 600

    600 (this color)

    #977A02

    oklch(59% 0.12 92)

  8. Step 700

    700

    #755E00

    oklch(49.1% 0.1 92.1)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #4F4008

    oklch(37.7% 0.072 92.6)

  11. Step 950

    950

    #2E2608

    oklch(27.1% 0.046 94.1)

Export this scale for Tailwind in the Tailwind colors tool

#977A02 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)#8978000.025
Deuteranopia (no green cones)#9180100.017
Tritanopia (no blue cones)#A46E670.110
Achromatopsia (no color)#7D7D7D0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #977A02

    #977A02

    oklch(59% 0.12 92)

  • #6577C5

    #6577C5

    oklch(59% 0.121 272.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #977A02

    #977A02

    oklch(59% 0.12 92)

  • #AF6B23

    #AF6B23

    oklch(59% 0.12 62.4)

  • #71882C

    #71882C

    oklch(59% 0.12 122.2)

Open the analogous palette in the generator

Split complementary

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

  • #977A02

    #977A02

    oklch(59% 0.12 92)

  • #2C85BE

    #2C85BE

    oklch(59.1% 0.12 241.6)

  • #8B6AB8

    #8B6AB8

    oklch(58.9% 0.12 302.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #977A02

    #977A02

    oklch(59% 0.12 92)

  • #008DA1

    #008DA1

    oklch(59.1% 0.103 212.1)

  • #A6619D

    #A6619D

    oklch(59.1% 0.119 331.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #977A02

    #977A02

    oklch(59% 0.12 92)

  • #009182

    #009182

    oklch(58.9% 0.105 182.2)

  • #6577C5

    #6577C5

    oklch(59% 0.121 272.4)

  • #B65C78

    #B65C78

    oklch(59% 0.12 1.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #977A02 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.