#978E22

Closest named color: Dark Mustard (#A88905). oklch(63.6% 0.123 104.4), rgb(151, 142, 34).

Aa

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

About this color

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

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

Values

HEX#978E22
RGBrgb(151, 142, 34)
HSLhsl(55, 63%, 36%)
OKLCHoklch(63.6% 0.123 104.4)

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 #978E22 3.38:1 AA large text Lc -66.6 Content text, not long reading
Black text on #978E22 6.20:1 AA Lc 42.9 Non-text elements, placeholder text
#978E22 text on white 3.38:1 AA large text Lc 61.2 Content text, not long reading
#978E22 text on black 6.20: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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDE

    oklch(93.7% 0.017 106.7)

  3. Step 200

    200

    #DCDBC2

    oklch(88.6% 0.033 105.2)

  4. Step 300

    300

    #C6C396

    oklch(80.8% 0.06 104.5)

  5. Step 400

    400

    #AAA45A

    oklch(70.7% 0.096 104.5)

  6. Step 500

    500 (this color)

    #978E22

    oklch(63.6% 0.123 104.4)

  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

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2A2705

    oklch(26.8% 0.051 104.4)

Export this scale for Tailwind in the Tailwind colors tool

#978E22 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)#9B89090.014
Deuteranopia (no green cones)#9E8E2A0.013
Tritanopia (no blue cones)#A3847A0.113
Achromatopsia (no color)#8C8C8C0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #978E22

    #978E22

    oklch(63.6% 0.123 104.4)

  • #837FD2

    #837FD2

    oklch(63.5% 0.123 284.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978E22

    #978E22

    oklch(63.6% 0.123 104.4)

  • #B67E21

    #B67E21

    oklch(63.5% 0.123 74.5)

  • #6A9B4A

    #6A9B4A

    oklch(63.6% 0.124 134.4)

Open the analogous palette in the generator

Split complementary

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

  • #978E22

    #978E22

    oklch(63.6% 0.123 104.4)

  • #538DD4

    #538DD4

    oklch(63.5% 0.124 254.4)

  • #A673BE

    #A673BE

    oklch(63.6% 0.122 314.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978E22

    #978E22

    oklch(63.6% 0.123 104.4)

  • #0099C1

    #0099C1

    oklch(63.5% 0.12 224.8)

  • #BE6A9D

    #BE6A9D

    oklch(63.5% 0.124 344)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978E22

    #978E22

    oklch(63.6% 0.123 104.4)

  • #009F9E

    #009F9E

    oklch(63.6% 0.109 194)

  • #837FD2

    #837FD2

    oklch(63.5% 0.123 284.5)

  • #CA6973

    #CA6973

    oklch(63.6% 0.123 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 #978E22, closest first.

No curated palette has a color within ΔE 0.04 of #978E22.

Similar named colors

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

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