#978D52

Closest named color: Dark Sand (#A88F59). oklch(63.9% 0.08 99.9), rgb(151, 141, 82).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameDark Sand (#A88F59)
Black text6.24:1
White text3.36:1

Values

HEX#978D52
RGBrgb(151, 141, 82)
HSLhsl(51, 30%, 46%)
OKLCHoklch(63.9% 0.08 99.9)

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 #978D52 3.36:1 AA large text Lc -66.5 Content text, not long reading
Black text on #978D52 6.24:1 AA Lc 43.0 Non-text elements, placeholder text
#978D52 text on white 3.36:1 AA large text Lc 61.0 Content text, not long reading
#978D52 text on black 6.24:1 AA Lc -40.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

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EBEAE2

    oklch(93.6% 0.011 100.8)

  3. Step 200

    200

    #DCDACA

    oklch(88.6% 0.022 101)

  4. Step 300

    300

    #C6C2A5

    oklch(81% 0.04 100.8)

  5. Step 400

    400

    #A9A274

    oklch(70.7% 0.063 100.5)

  6. Step 500

    500 (this color)

    #978D52

    oklch(63.9% 0.08 99.9)

  7. Step 600

    600

    #7F7433

    oklch(55.5% 0.087 99.8)

  8. Step 700

    700

    #6C6125

    oklch(49% 0.081 98.9)

  9. Step 800

    800

    #585020

    oklch(42.8% 0.068 99.9)

  10. Step 900

    900

    #484220

    oklch(37.6% 0.052 99.5)

  11. Step 950

    950

    #2A2713

    oklch(27% 0.034 100.9)

Export this scale for Tailwind in the Tailwind colors tool

#978D52 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)#978A4D0.008
Deuteranopia (no green cones)#9A8E540.006
Tritanopia (no blue cones)#A0857F0.074
Achromatopsia (no color)#8C8C8C0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #978D52

    #978D52

    oklch(63.9% 0.08 99.9)

  • #8287BC

    #8287BC

    oklch(64% 0.08 279.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978D52

    #978D52

    oklch(63.9% 0.08 99.9)

  • #AB8354

    #AB8354

    oklch(63.8% 0.08 70.1)

  • #7C9661

    #7C9661

    oklch(63.9% 0.081 129.7)

Open the analogous palette in the generator

Split complementary

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

  • #978D52

    #978D52

    oklch(63.9% 0.08 99.9)

  • #6690BB

    #6690BB

    oklch(64% 0.08 249.7)

  • #9B7EB1

    #9B7EB1

    oklch(63.9% 0.081 310.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978D52

    #978D52

    oklch(63.9% 0.08 99.9)

  • #4E97AD

    #4E97AD

    oklch(63.8% 0.08 219.9)

  • #AD799B

    #AD799B

    oklch(63.9% 0.079 340.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978D52

    #978D52

    oklch(63.9% 0.08 99.9)

  • #4A9B96

    #4A9B96

    oklch(63.7% 0.08 190)

  • #8287BC

    #8287BC

    oklch(64% 0.08 279.7)

  • #B67781

    #B67781

    oklch(63.8% 0.08 9.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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