#978F54

Closest named color: Dark Sand (#A88F59). oklch(64.3% 0.08 101.6), rgb(151, 143, 84).

Aa

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

About this color

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

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

Values

HEX#978F54
RGBrgb(151, 143, 84)
HSLhsl(53, 29%, 46%)
OKLCHoklch(64.3% 0.08 101.6)

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 #978F54 3.29:1 AA large text Lc -65.7 Content text, not long reading
Black text on #978F54 6.37:1 AA Lc 43.8 Non-text elements, placeholder text
#978F54 text on white 3.29:1 AA large text Lc 60.3 Content text, not long reading
#978F54 text on black 6.37:1 AA Lc -41.4 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

    #C5C2A5

    oklch(80.9% 0.04 102.4)

  5. Step 400

    400

    #A8A275

    oklch(70.6% 0.062 101.4)

  6. Step 500

    500 (this color)

    #978F54

    oklch(64.3% 0.08 101.6)

  7. Step 600

    600

    #7E7534

    oklch(55.6% 0.087 101.5)

  8. Step 700

    700

    #6A6226

    oklch(49.1% 0.081 101.8)

  9. Step 800

    800

    #575021

    oklch(42.7% 0.067 100.9)

  10. Step 900

    900

    #474320

    oklch(37.8% 0.053 102.8)

  11. Step 950

    950

    #2A2713

    oklch(27% 0.034 100.9)

Export this scale for Tailwind in the Tailwind colors tool

#978F54 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)#998B4F0.011
Deuteranopia (no green cones)#9B8F560.007
Tritanopia (no blue cones)#A088810.072
Achromatopsia (no color)#8E8E8E0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #978F54

    #978F54

    oklch(64.3% 0.08 101.6)

  • #8587BD

    #8587BD

    oklch(64.3% 0.081 282.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978F54

    #978F54

    oklch(64.3% 0.08 101.6)

  • #AC8555

    #AC8555

    oklch(64.3% 0.08 71.4)

  • #7B9864

    #7B9864

    oklch(64.4% 0.081 132)

Open the analogous palette in the generator

Split complementary

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

  • #978F54

    #978F54

    oklch(64.3% 0.08 101.6)

  • #6991BD

    #6991BD

    oklch(64.5% 0.08 251.4)

  • #9D7FB1

    #9D7FB1

    oklch(64.3% 0.08 311.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978F54

    #978F54

    oklch(64.3% 0.08 101.6)

  • #5098B0

    #5098B0

    oklch(64.2% 0.08 222.1)

  • #AF7A9B

    #AF7A9B

    oklch(64.3% 0.079 341.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978F54

    #978F54

    oklch(64.3% 0.08 101.6)

  • #4B9D99

    #4B9D99

    oklch(64.4% 0.08 191.1)

  • #8587BD

    #8587BD

    oklch(64.3% 0.081 282.2)

  • #B87980

    #B87980

    oklch(64.3% 0.079 12.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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