#978D47

Closest named color: Camo (#7F8F4E). oklch(63.7% 0.092 101.3), rgb(151, 141, 71).

Aa

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

About this color

#978D47 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.092 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.034 away. Black text reads best on it, at 6.21:1.

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.092)
Temperaturewarm
Nearest nameCamo (#7F8F4E)
Black text6.21:1
White text3.37:1

Values

HEX#978D47
RGBrgb(151, 141, 71)
HSLhsl(53, 36%, 44%)
OKLCHoklch(63.7% 0.092 101.3)

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 #978D47 3.37:1 AA large text Lc -66.7 Content text, not long reading
Black text on #978D47 6.21:1 AA Lc 42.9 Non-text elements, placeholder text
#978D47 text on white 3.37:1 AA large text Lc 61.2 Content text, not long reading
#978D47 text on black 6.21:1 AA Lc -40.5 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

    #DCDAC7

    oklch(88.5% 0.026 102)

  4. Step 300

    300

    #C6C2A1

    oklch(80.9% 0.045 101.6)

  5. Step 400

    400

    #AAA26D

    oklch(70.6% 0.072 100.7)

  6. Step 500

    500 (this color)

    #978D47

    oklch(63.7% 0.092 101.3)

  7. Step 600

    600

    #807524

    oklch(55.7% 0.1 101.4)

  8. Step 700

    700

    #6C6216

    oklch(49.1% 0.093 101.5)

  9. Step 800

    800

    #585016

    oklch(42.7% 0.077 101.3)

  10. Step 900

    900

    #484219

    oklch(37.5% 0.06 101.1)

  11. Step 950

    950

    #2A2710

    oklch(27% 0.038 101.9)

Export this scale for Tailwind in the Tailwind colors tool

#978D47 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)#9889410.011
Deuteranopia (no green cones)#9B8E4A0.008
Tritanopia (no blue cones)#A1857D0.083
Achromatopsia (no color)#8C8C8C0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #978D47

    #978D47

    oklch(63.7% 0.092 101.3)

  • #8184C2

    #8184C2

    oklch(63.6% 0.093 281.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978D47

    #978D47

    oklch(63.7% 0.092 101.3)

  • #AE8249

    #AE8249

    oklch(63.8% 0.092 72)

  • #77975B

    #77975B

    oklch(63.7% 0.092 131.4)

Open the analogous palette in the generator

Split complementary

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

  • #978D47

    #978D47

    oklch(63.7% 0.092 101.3)

  • #608FC2

    #608FC2

    oklch(63.7% 0.093 251.3)

  • #9D7BB4

    #9D7BB4

    oklch(63.6% 0.091 311.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978D47

    #978D47

    oklch(63.7% 0.092 101.3)

  • #4098B3

    #4098B3

    oklch(63.8% 0.092 221.4)

  • #B2759C

    #B2759C

    oklch(63.8% 0.092 341.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978D47

    #978D47

    oklch(63.7% 0.092 101.3)

  • #389D99

    #389D99

    oklch(63.7% 0.092 191.4)

  • #8184C2

    #8184C2

    oklch(63.6% 0.093 281.3)

  • #BC737D

    #BC737D

    oklch(63.7% 0.093 11.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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