#978D54

Closest named color: Dark Sand (#A88F59). oklch(63.9% 0.078 99.5), rgb(151, 141, 84).

Aa

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

About this color

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

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

Values

HEX#978D54
RGBrgb(151, 141, 84)
HSLhsl(51, 29%, 46%)
OKLCHoklch(63.9% 0.078 99.5)

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 #978D54 3.35:1 AA large text Lc -66.5 Content text, not long reading
Black text on #978D54 6.25:1 AA Lc 43.1 Non-text elements, placeholder text
#978D54 text on white 3.35:1 AA large text Lc 61.0 Content text, not long reading
#978D54 text on black 6.25: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

    #F6F5F2

    oklch(97% 0.004 91.4)

  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

    #C6C2A6

    oklch(81% 0.038 100.5)

  5. Step 400

    400

    #A9A276

    oklch(70.7% 0.061 100.1)

  6. Step 500

    500 (this color)

    #978D54

    oklch(63.9% 0.078 99.5)

  7. Step 600

    600

    #7F7435

    oklch(55.5% 0.085 99.5)

  8. Step 700

    700

    #6B6128

    oklch(49% 0.078 99.4)

  9. Step 800

    800

    #585022

    oklch(42.8% 0.066 99.6)

  10. Step 900

    900

    #484221

    oklch(37.7% 0.051 99.2)

  11. Step 950

    950

    #2A2714

    oklch(27% 0.032 100.4)

Export this scale for Tailwind in the Tailwind colors tool

#978D54 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)#978A500.008
Deuteranopia (no green cones)#9A8E560.006
Tritanopia (no blue cones)#A0867F0.070
Achromatopsia (no color)#8C8C8C0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #978D54

    #978D54

    oklch(63.9% 0.078 99.5)

  • #8287BB

    #8287BB

    oklch(63.9% 0.078 279.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978D54

    #978D54

    oklch(63.9% 0.078 99.5)

  • #AB8356

    #AB8356

    oklch(63.8% 0.078 68.9)

  • #7D9563

    #7D9563

    oklch(63.8% 0.076 129.2)

Open the analogous palette in the generator

Split complementary

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

  • #978D54

    #978D54

    oklch(63.9% 0.078 99.5)

  • #6790BA

    #6790BA

    oklch(64% 0.078 249.7)

  • #9A7FB0

    #9A7FB0

    oklch(63.9% 0.078 309.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978D54

    #978D54

    oklch(63.9% 0.078 99.5)

  • #5097AC

    #5097AC

    oklch(63.8% 0.078 219.4)

  • #AC799B

    #AC799B

    oklch(63.8% 0.078 339.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978D54

    #978D54

    oklch(63.9% 0.078 99.5)

  • #4D9B96

    #4D9B96

    oklch(63.9% 0.077 189.9)

  • #8287BB

    #8287BB

    oklch(63.9% 0.078 279.7)

  • #B57881

    #B57881

    oklch(63.8% 0.077 9.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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