#978F4F

Closest named color: Dark Sand (#A88F59). oklch(64.2% 0.086 102.2), rgb(151, 143, 79).

Aa

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

About this color

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

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

Values

HEX#978F4F
RGBrgb(151, 143, 79)
HSLhsl(53, 31%, 45%)
OKLCHoklch(64.2% 0.086 102.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 #978F4F 3.30:1 AA large text Lc -65.8 Content text, not long reading
Black text on #978F4F 6.35:1 AA Lc 43.7 Non-text elements, placeholder text
#978F4F text on white 3.30:1 AA large text Lc 60.4 Content text, not long reading
#978F4F text on black 6.35:1 AA Lc -41.3 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

    #C5C2A3

    oklch(80.8% 0.042 102.7)

  5. Step 400

    400

    #A8A372

    oklch(70.8% 0.067 103)

  6. Step 500

    500 (this color)

    #978F4F

    oklch(64.2% 0.086 102.2)

  7. Step 600

    600

    #7E752D

    oklch(55.6% 0.093 102.2)

  8. Step 700

    700

    #6A6220

    oklch(49% 0.086 102.4)

  9. Step 800

    800

    #57501C

    oklch(42.7% 0.072 101.7)

  10. Step 900

    900

    #47431D

    oklch(37.7% 0.056 103.3)

  11. Step 950

    950

    #2A2712

    oklch(27% 0.035 101.2)

Export this scale for Tailwind in the Tailwind colors tool

#978F4F 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)#998B4A0.011
Deuteranopia (no green cones)#9C8F520.009
Tritanopia (no blue cones)#A087800.078
Achromatopsia (no color)#8D8D8D0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #978F4F

    #978F4F

    oklch(64.2% 0.086 102.2)

  • #8586C0

    #8586C0

    oklch(64.2% 0.086 282.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978F4F

    #978F4F

    oklch(64.2% 0.086 102.2)

  • #AD8450

    #AD8450

    oklch(64.1% 0.085 71.9)

  • #799861

    #799861

    oklch(64.2% 0.086 132.3)

Open the analogous palette in the generator

Split complementary

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

  • #978F4F

    #978F4F

    oklch(64.2% 0.086 102.2)

  • #6690C0

    #6690C0

    oklch(64.2% 0.086 252.4)

  • #9F7EB3

    #9F7EB3

    oklch(64.3% 0.086 312.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978F4F

    #978F4F

    oklch(64.2% 0.086 102.2)

  • #4A99B2

    #4A99B2

    oklch(64.3% 0.086 221.3)

  • #B1789B

    #B1789B

    oklch(64.2% 0.085 342.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978F4F

    #978F4F

    oklch(64.2% 0.086 102.2)

  • #439D9A

    #439D9A

    oklch(64.1% 0.085 192.2)

  • #8586C0

    #8586C0

    oklch(64.2% 0.086 282.9)

  • #BB777F

    #BB777F

    oklch(64.3% 0.086 12.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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