#977917

Closest named color: Hazel (#8E7618). oklch(58.9% 0.113 90), rgb(151, 121, 23).

Aa

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

About this color

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

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

Values

HEX#977917
RGBrgb(151, 121, 23)
HSLhsl(46, 74%, 34%)
OKLCHoklch(58.9% 0.113 90)

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 #977917 4.14:1 AA large text Lc -73.9 Content text, not long reading
Black text on #977917 5.06:1 AA Lc 35.7 Non-text elements, placeholder text
#977917 text on white 4.14:1 AA large text Lc 68.4 Content text, not long reading
#977917 text on black 5.06:1 AA Lc -33.3 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

    #EEEADF

    oklch(93.7% 0.015 90.2)

  3. Step 200

    200

    #E0D9C5

    oklch(88.5% 0.028 90.9)

  4. Step 300

    300

    #CDC09C

    oklch(80.9% 0.051 90.5)

  5. Step 400

    400

    #B49F64

    oklch(70.7% 0.082 90.6)

  6. Step 500

    500

    #A28636

    oklch(63.1% 0.104 89.7)

  7. Step 600

    600 (this color)

    #977917

    oklch(58.9% 0.113 90)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #50400F

    oklch(37.9% 0.068 90.1)

  11. Step 950

    950

    #2F250B

    oklch(27% 0.043 88.1)

Export this scale for Tailwind in the Tailwind colors tool

#977917 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)#8878000.028
Deuteranopia (no green cones)#8F801E0.021
Tritanopia (no blue cones)#A46E670.102
Achromatopsia (no color)#7C7C7C0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #977917

    #977917

    oklch(58.9% 0.113 90)

  • #6378C0

    #6378C0

    oklch(58.8% 0.113 270.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #977917

    #977917

    oklch(58.9% 0.113 90)

  • #AD6B2E

    #AD6B2E

    oklch(58.9% 0.113 60.1)

  • #748630

    #748630

    oklch(58.7% 0.113 120.1)

Open the analogous palette in the generator

Split complementary

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

  • #977917

    #977917

    oklch(58.9% 0.113 90)

  • #2F85B9

    #2F85B9

    oklch(58.9% 0.113 239.7)

  • #886CB6

    #886CB6

    oklch(58.9% 0.114 300.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #977917

    #977917

    oklch(58.9% 0.113 90)

  • #008D9E

    #008D9E

    oklch(58.9% 0.102 209.6)

  • #A2639D

    #A2639D

    oklch(58.9% 0.113 329.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #977917

    #977917

    oklch(58.9% 0.113 90)

  • #00917F

    #00917F

    oklch(58.8% 0.107 179.9)

  • #6378C0

    #6378C0

    oklch(58.8% 0.113 270.3)

  • #B25E7A

    #B25E7A

    oklch(58.8% 0.113 359.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #977917 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.