#977D2F

Closest named color: Hazel (#8E7618). oklch(59.9% 0.101 90.4), rgb(151, 125, 47).

Aa

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

About this color

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

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

Values

HEX#977D2F
RGBrgb(151, 125, 47)
HSLhsl(45, 53%, 39%)
OKLCHoklch(59.9% 0.101 90.4)

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 #977D2F 3.96:1 AA large text Lc -72.4 Content text, not long reading
Black text on #977D2F 5.29:1 AA Lc 37.1 Non-text elements, placeholder text
#977D2F text on white 3.96:1 AA large text Lc 66.9 Content text, not long reading
#977D2F text on black 5.29:1 AA Lc -34.7 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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EDEADF

    oklch(93.6% 0.015 94.2)

  3. Step 200

    200

    #E0D9C5

    oklch(88.5% 0.028 90.9)

  4. Step 300

    300

    #CDC09D

    oklch(81% 0.049 90.1)

  5. Step 400

    400

    #B39F66

    oklch(70.7% 0.079 90.8)

  6. Step 500

    500 (this color)

    #977D2F

    oklch(59.9% 0.101 90.4)

  7. Step 600

    600

    #8C700E

    oklch(55.7% 0.11 90.6)

  8. Step 700

    700

    #765D00

    oklch(49% 0.1 90.4)

  9. Step 800

    800

    #614C06

    oklch(42.7% 0.084 89.7)

  10. Step 900

    900

    #4F4011

    oklch(37.8% 0.066 90.8)

  11. Step 950

    950

    #2E250C

    oklch(26.8% 0.041 89.6)

Export this scale for Tailwind in the Tailwind colors tool

#977D2F 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)#8B7B250.023
Deuteranopia (no green cones)#9183330.018
Tritanopia (no blue cones)#A3736D0.092
Achromatopsia (no color)#8080800.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #977D2F

    #977D2F

    oklch(59.9% 0.101 90.4)

  • #697CBC

    #697CBC

    oklch(59.8% 0.101 270.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #977D2F

    #977D2F

    oklch(59.9% 0.101 90.4)

  • #AC713D

    #AC713D

    oklch(60% 0.101 60.4)

  • #78893F

    #78893F

    oklch(60% 0.102 120.3)

Open the analogous palette in the generator

Split complementary

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

  • #977D2F

    #977D2F

    oklch(59.9% 0.101 90.4)

  • #4087B6

    #4087B6

    oklch(59.8% 0.101 240.4)

  • #8A71B3

    #8A71B3

    oklch(59.9% 0.102 300.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #977D2F

    #977D2F

    oklch(59.9% 0.101 90.4)

  • #1090A1

    #1090A1

    oklch(60% 0.101 209.8)

  • #A2699C

    #A2699C

    oklch(59.9% 0.101 330.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #977D2F

    #977D2F

    oklch(59.9% 0.101 90.4)

  • #1F9383

    #1F9383

    oklch(59.8% 0.101 181)

  • #697CBC

    #697CBC

    oklch(59.8% 0.101 270.6)

  • #B1657D

    #B1657D

    oklch(59.9% 0.101 0.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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