#978B52

Closest named color: Dark Sand (#A88F59). oklch(63.4% 0.078 97.8), rgb(151, 139, 82).

Aa

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

About this color

#978B52 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.078 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Sand (#A88F59), ΔE 0.031 away. Black text reads best on it, at 6.13:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.078)
Temperaturewarm
Nearest nameDark Sand (#A88F59)
Black text6.13:1
White text3.42:1

Values

HEX#978B52
RGBrgb(151, 139, 82)
HSLhsl(50, 30%, 46%)
OKLCHoklch(63.4% 0.078 97.8)

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 #978B52 3.42:1 AA large text Lc -67.2 Content text, not long reading
Black text on #978B52 6.13:1 AA Lc 42.3 Non-text elements, placeholder text
#978B52 text on white 3.42:1 AA large text Lc 61.7 Content text, not long reading
#978B52 text on black 6.13:1 AA Lc -40.0 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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DDDACA

    oklch(88.6% 0.022 98.1)

  4. Step 300

    300

    #C7C1A6

    oklch(80.9% 0.037 96.8)

  5. Step 400

    400

    #ABA175

    oklch(70.6% 0.061 96.8)

  6. Step 500

    500 (this color)

    #978B52

    oklch(63.4% 0.078 97.8)

  7. Step 600

    600

    #817434

    oklch(55.7% 0.086 98)

  8. Step 700

    700

    #6D6127

    oklch(49.2% 0.079 97.7)

  9. Step 800

    800

    #594F22

    oklch(42.7% 0.065 97)

  10. Step 900

    900

    #494221

    oklch(37.8% 0.051 97.6)

  11. Step 950

    950

    #2B2714

    oklch(27.2% 0.032 97.8)

Export this scale for Tailwind in the Tailwind colors tool

#978B52 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)#95884D0.010
Deuteranopia (no green cones)#998D540.007
Tritanopia (no blue cones)#A0837D0.072
Achromatopsia (no color)#8B8B8B0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #978B52

    #978B52

    oklch(63.4% 0.078 97.8)

  • #7F86BA

    #7F86BA

    oklch(63.4% 0.079 278)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978B52

    #978B52

    oklch(63.4% 0.078 97.8)

  • #AA8156

    #AA8156

    oklch(63.3% 0.078 67)

  • #7D9460

    #7D9460

    oklch(63.5% 0.078 127.9)

Open the analogous palette in the generator

Split complementary

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

  • #978B52

    #978B52

    oklch(63.4% 0.078 97.8)

  • #638FB8

    #638FB8

    oklch(63.4% 0.079 247.4)

  • #977EAF

    #977EAF

    oklch(63.4% 0.077 307.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978B52

    #978B52

    oklch(63.4% 0.078 97.8)

  • #4D96AA

    #4D96AA

    oklch(63.4% 0.079 218)

  • #AA789B

    #AA789B

    oklch(63.4% 0.078 338.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978B52

    #978B52

    oklch(63.4% 0.078 97.8)

  • #4C9A93

    #4C9A93

    oklch(63.5% 0.078 187.7)

  • #7F86BA

    #7F86BA

    oklch(63.4% 0.079 278)

  • #B47681

    #B47681

    oklch(63.4% 0.079 8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #978B52 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.