#978D3F

Closest named color: Camo (#7F8F4E). oklch(63.6% 0.1 102.1), rgb(151, 141, 63).

Aa

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

About this color

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

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

Values

HEX#978D3F
RGBrgb(151, 141, 63)
HSLhsl(53, 41%, 42%)
OKLCHoklch(63.6% 0.1 102.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 #978D3F 3.38:1 AA large text Lc -66.8 Content text, not long reading
Black text on #978D3F 6.19:1 AA Lc 42.8 Non-text elements, placeholder text
#978D3F text on white 3.38:1 AA large text Lc 61.3 Content text, not long reading
#978D3F text on black 6.19:1 AA Lc -40.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE0

    oklch(93.5% 0.013 102)

  3. Step 200

    200

    #DCDAC6

    oklch(88.5% 0.027 102.3)

  4. Step 300

    300

    #C6C29E

    oklch(80.8% 0.049 102.2)

  5. Step 400

    400

    #AAA369

    oklch(70.8% 0.078 102.2)

  6. Step 500

    500 (this color)

    #978D3F

    oklch(63.6% 0.1 102.1)

  7. Step 600

    600

    #807516

    oklch(55.6% 0.109 102.3)

  8. Step 700

    700

    #6C6204

    oklch(49% 0.101 102.4)

  9. Step 800

    800

    #58500C

    oklch(42.6% 0.084 102.2)

  10. Step 900

    900

    #494314

    oklch(37.8% 0.066 102)

  11. Step 950

    950

    #2A270D

    oklch(26.9% 0.042 102.8)

Export this scale for Tailwind in the Tailwind colors tool

#978D3F 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)#9989370.011
Deuteranopia (no green cones)#9C8D430.009
Tritanopia (no blue cones)#A2847C0.092
Achromatopsia (no color)#8B8B8B0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #978D3F

    #978D3F

    oklch(63.6% 0.1 102.1)

  • #8183C6

    #8183C6

    oklch(63.6% 0.1 281.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978D3F

    #978D3F

    oklch(63.6% 0.1 102.1)

  • #B08041

    #B08041

    oklch(63.5% 0.1 71.7)

  • #749856

    #749856

    oklch(63.7% 0.101 132)

Open the analogous palette in the generator

Split complementary

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

  • #978D3F

    #978D3F

    oklch(63.6% 0.1 102.1)

  • #5C8EC6

    #5C8EC6

    oklch(63.5% 0.101 252.2)

  • #9F79B7

    #9F79B7

    oklch(63.6% 0.1 311.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978D3F

    #978D3F

    oklch(63.6% 0.1 102.1)

  • #3598B6

    #3598B6

    oklch(63.5% 0.1 222)

  • #B5729C

    #B5729C

    oklch(63.7% 0.1 342.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978D3F

    #978D3F

    oklch(63.6% 0.1 102.1)

  • #279E9B

    #279E9B

    oklch(63.6% 0.1 192.4)

  • #8183C6

    #8183C6

    oklch(63.6% 0.1 281.8)

  • #BF707B

    #BF707B

    oklch(63.5% 0.101 11.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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