#977E00

Closest named color: Hazel (#8E7618). oklch(59.9% 0.123 95), rgb(151, 126, 0).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text5.30:1
White text3.96:1

Values

HEX#977E00
RGBrgb(151, 126, 0)
HSLhsl(50, 100%, 30%)
OKLCHoklch(59.9% 0.123 95)

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 #977E00 3.96:1 AA large text Lc -72.3 Content text, not long reading
Black text on #977E00 5.30:1 AA Lc 37.3 Non-text elements, placeholder text
#977E00 text on white 3.96:1 AA large text Lc 66.8 Content text, not long reading
#977E00 text on black 5.30:1 AA Lc -34.9 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

    #F7F5F0

    oklch(97% 0.007 88.6)

  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

    #CCC195

    oklch(80.9% 0.06 95.7)

  5. Step 400

    400

    #B3A057

    oklch(70.7% 0.096 95.1)

  6. Step 500

    500 (this color)

    #977E00

    oklch(59.9% 0.123 95)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  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

    #4F4100

    oklch(37.9% 0.078 95.1)

  11. Step 950

    950

    #2E2604

    oklch(27% 0.051 95.6)

Export this scale for Tailwind in the Tailwind colors tool

#977E00 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)#8D7B000.019
Deuteranopia (no green cones)#9383100.014
Tritanopia (no blue cones)#A4736B0.113
Achromatopsia (no color)#8080800.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #977E00

    #977E00

    oklch(59.9% 0.123 95)

  • #6B78C9

    #6B78C9

    oklch(59.9% 0.124 275.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #977E00

    #977E00

    oklch(59.9% 0.123 95)

  • #B16E1E

    #B16E1E

    oklch(59.8% 0.123 64.9)

  • #6F8C31

    #6F8C31

    oklch(59.9% 0.123 125)

Open the analogous palette in the generator

Split complementary

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

  • #977E00

    #977E00

    oklch(59.9% 0.123 95)

  • #3486C4

    #3486C4

    oklch(59.9% 0.123 245)

  • #916BBA

    #916BBA

    oklch(59.8% 0.123 305.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #977E00

    #977E00

    oklch(59.9% 0.123 95)

  • #008FA7

    #008FA7

    oklch(59.8% 0.106 215.1)

  • #AC619D

    #AC619D

    oklch(59.8% 0.124 334.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #977E00

    #977E00

    oklch(59.9% 0.123 95)

  • #009488

    #009488

    oklch(59.9% 0.106 184.8)

  • #6B78C9

    #6B78C9

    oklch(59.9% 0.124 275.1)

  • #BB5D76

    #BB5D76

    oklch(59.8% 0.123 4.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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