#978D50

Closest named color: Dark Sand (#A88F59). oklch(63.8% 0.082 100.2), rgb(151, 141, 80).

Aa

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

About this color

#978D50 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.082 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.082)
Temperaturewarm
Nearest nameDark Sand (#A88F59)
Black text6.24:1
White text3.36:1

Values

HEX#978D50
RGBrgb(151, 141, 80)
HSLhsl(52, 31%, 45%)
OKLCHoklch(63.8% 0.082 100.2)

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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE1

    oklch(93.5% 0.012 101.5)

  3. Step 200

    200

    #DCDAC9

    oklch(88.5% 0.023 101.4)

  4. Step 300

    300

    #C6C2A4

    oklch(80.9% 0.041 101)

  5. Step 400

    400

    #AAA273

    oklch(70.7% 0.065 99.6)

  6. Step 500

    500 (this color)

    #978D50

    oklch(63.8% 0.082 100.2)

  7. Step 600

    600

    #7F7430

    oklch(55.5% 0.089 100.2)

  8. Step 700

    700

    #6C6223

    oklch(49.2% 0.083 100.3)

  9. Step 800

    800

    #58501F

    oklch(42.8% 0.069 100.1)

  10. Step 900

    900

    #48421F

    oklch(37.6% 0.053 99.8)

  11. Step 950

    950

    #2A2713

    oklch(27% 0.034 100.9)

Export this scale for Tailwind in the Tailwind colors tool

#978D50 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)#978A4B0.008
Deuteranopia (no green cones)#9A8E530.007
Tritanopia (no blue cones)#A0857E0.075
Achromatopsia (no color)#8C8C8C0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #978D50

    #978D50

    oklch(63.8% 0.082 100.2)

  • #8286BD

    #8286BD

    oklch(63.8% 0.082 280.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978D50

    #978D50

    oklch(63.8% 0.082 100.2)

  • #AC8352

    #AC8352

    oklch(63.9% 0.083 70.4)

  • #7B9660

    #7B9660

    oklch(63.8% 0.083 130.1)

Open the analogous palette in the generator

Split complementary

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

  • #978D50

    #978D50

    oklch(63.8% 0.082 100.2)

  • #658FBC

    #658FBC

    oklch(63.7% 0.082 250.9)

  • #9B7EB1

    #9B7EB1

    oklch(63.9% 0.081 310.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978D50

    #978D50

    oklch(63.8% 0.082 100.2)

  • #4B97AE

    #4B97AE

    oklch(63.7% 0.082 220.2)

  • #AE789B

    #AE789B

    oklch(63.9% 0.082 340.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978D50

    #978D50

    oklch(63.8% 0.082 100.2)

  • #479C97

    #479C97

    oklch(63.9% 0.082 190.1)

  • #8286BD

    #8286BD

    oklch(63.8% 0.082 280.6)

  • #B77680

    #B77680

    oklch(63.7% 0.083 9.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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