#978A50

Closest named color: Coffee (#A6814C). oklch(63.2% 0.079 97.1), rgb(151, 138, 80).

Aa

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

About this color

#978A50 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.079 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Coffee (#A6814C), ΔE 0.032 away. Black text reads best on it, at 6.06:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameCoffee (#A6814C)
Black text6.06:1
White text3.46:1

Values

HEX#978A50
RGBrgb(151, 138, 80)
HSLhsl(49, 31%, 45%)
OKLCHoklch(63.2% 0.079 97.1)

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 #978A50 3.46:1 AA large text Lc -67.6 Content text, not long reading
Black text on #978A50 6.06:1 AA Lc 41.9 Non-text elements, placeholder text
#978A50 text on white 3.46:1 AA large text Lc 62.1 Content text, not long reading
#978A50 text on black 6.06:1 AA Lc -39.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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DDD9CA

    oklch(88.4% 0.021 94.5)

  4. Step 300

    300

    #C7C1A5

    oklch(80.8% 0.039 97.2)

  5. Step 400

    400

    #ABA174

    oklch(70.6% 0.062 97.1)

  6. Step 500

    500 (this color)

    #978A50

    oklch(63.2% 0.079 97.1)

  7. Step 600

    600

    #817333

    oklch(55.5% 0.086 97.1)

  8. Step 700

    700

    #6E6125

    oklch(49.2% 0.081 97.1)

  9. Step 800

    800

    #594F20

    oklch(42.7% 0.067 97.4)

  10. Step 900

    900

    #494220

    oklch(37.8% 0.052 98)

  11. Step 950

    950

    #2B2713

    oklch(27.1% 0.034 98.3)

Export this scale for Tailwind in the Tailwind colors tool

#978A50 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)#94874B0.011
Deuteranopia (no green cones)#988C520.006
Tritanopia (no blue cones)#A1827C0.073
Achromatopsia (no color)#8A8A8A0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #978A50

    #978A50

    oklch(63.2% 0.079 97.1)

  • #7D85BA

    #7D85BA

    oklch(63.1% 0.08 277.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978A50

    #978A50

    oklch(63.2% 0.079 97.1)

  • #AA8054

    #AA8054

    oklch(63.1% 0.079 66.9)

  • #7D935E

    #7D935E

    oklch(63.2% 0.079 126.9)

Open the analogous palette in the generator

Split complementary

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

  • #978A50

    #978A50

    oklch(63.2% 0.079 97.1)

  • #618EB7

    #618EB7

    oklch(63.1% 0.079 246.9)

  • #967DB0

    #967DB0

    oklch(63.2% 0.08 306.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978A50

    #978A50

    oklch(63.2% 0.079 97.1)

  • #4B96A9

    #4B96A9

    oklch(63.3% 0.079 216.5)

  • #A9779B

    #A9779B

    oklch(63.1% 0.079 337.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978A50

    #978A50

    oklch(63.2% 0.079 97.1)

  • #499992

    #499992

    oklch(63.1% 0.079 187.8)

  • #7D85BA

    #7D85BA

    oklch(63.1% 0.08 277.2)

  • #B37581

    #B37581

    oklch(63.1% 0.079 6.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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