#978F2E

Closest named color: Dark Mustard (#A88905). oklch(63.9% 0.116 104.6), rgb(151, 143, 46).

Aa

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

About this color

#978F2E is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.116 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.029 away. Black text reads best on it, at 6.28:1.

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.116)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text6.28:1
White text3.34:1

Values

HEX#978F2E
RGBrgb(151, 143, 46)
HSLhsl(55, 53%, 39%)
OKLCHoklch(63.9% 0.116 104.6)

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 #978F2E 3.34:1 AA large text Lc -66.2 Content text, not long reading
Black text on #978F2E 6.28:1 AA Lc 43.3 Non-text elements, placeholder text
#978F2E text on white 3.34:1 AA large text Lc 60.7 Content text, not long reading
#978F2E text on black 6.28:1 AA Lc -41.0 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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDE

    oklch(93.7% 0.017 106.7)

  3. Step 200

    200

    #DCDBC3

    oklch(88.6% 0.032 105.1)

  4. Step 300

    300

    #C6C399

    oklch(80.9% 0.056 104.2)

  5. Step 400

    400

    #A9A45F

    oklch(70.7% 0.091 104.9)

  6. Step 500

    500 (this color)

    #978F2E

    oklch(63.9% 0.116 104.6)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #484306

    oklch(37.6% 0.076 104.4)

  11. Step 950

    950

    #2A2808

    oklch(27.1% 0.048 105.8)

Export this scale for Tailwind in the Tailwind colors tool

#978F2E 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)#9C8A200.014
Deuteranopia (no green cones)#9E8F340.013
Tritanopia (no blue cones)#A2857B0.106
Achromatopsia (no color)#8C8C8C0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #978F2E

    #978F2E

    oklch(63.9% 0.116 104.6)

  • #8481CF

    #8481CF

    oklch(63.8% 0.116 284.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978F2E

    #978F2E

    oklch(63.9% 0.116 104.6)

  • #B5802D

    #B5802D

    oklch(63.8% 0.117 74.5)

  • #6D9B50

    #6D9B50

    oklch(63.8% 0.116 134.5)

Open the analogous palette in the generator

Split complementary

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

  • #978F2E

    #978F2E

    oklch(63.9% 0.116 104.6)

  • #588ED1

    #588ED1

    oklch(63.8% 0.117 254.6)

  • #A675BC

    #A675BC

    oklch(63.8% 0.116 314.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978F2E

    #978F2E

    oklch(63.9% 0.116 104.6)

  • #169AC0

    #169AC0

    oklch(63.9% 0.116 224.3)

  • #BD6D9C

    #BD6D9C

    oklch(63.8% 0.117 344.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978F2E

    #978F2E

    oklch(63.9% 0.116 104.6)

  • #00A0A0

    #00A0A0

    oklch(63.9% 0.109 194.8)

  • #8481CF

    #8481CF

    oklch(63.8% 0.116 284.4)

  • #C86C75

    #C86C75

    oklch(63.8% 0.117 14.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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