#979F21

Closest named color: Pea Soup (#929901). oklch(67.4% 0.141 113.4), rgb(151, 159, 33).

Aa

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

About this color

#979F21 is a medium-light, vivid yellow. In OKLCH its lightness is 67%, its chroma 0.141 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.020 away. Black text reads best on it, at 7.29:1.

Hue familyYellows
Lightnessmedium-light (67%)
Chromavivid (0.141)
Temperaturein between
Nearest namePea Soup (#929901)
Black text7.29:1
White text2.87:1

Values

HEX#979F21
RGBrgb(151, 159, 33)
HSLhsl(64, 66%, 38%)
OKLCHoklch(67.4% 0.141 113.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 #979F21 2.87:1 Fails Lc -60.2 Content text, not long reading
Black text on #979F21 7.29:1 AAA Lc 49.2 Large or bold text, headings
#979F21 text on white 2.87:1 Fails Lc 54.9 Large or bold text, headings
#979F21 text on black 7.29:1 AAA Lc -46.9 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F5F6EE

    oklch(97% 0.011 112.4)

  2. Step 100

    100

    #E9ECD9

    oklch(93.6% 0.025 114.2)

  3. Step 200

    200

    #D8DDB9

    oklch(88.4% 0.048 113.8)

  4. Step 300

    300

    #C0C785

    oklch(80.9% 0.087 113.3)

  5. Step 400

    400 (this color)

    #979F21

    oklch(67.4% 0.141 113.4)

  6. Step 500

    500

    #8A9200

    oklch(63.2% 0.142 113.6)

  7. Step 600

    600

    #747A00

    oklch(55.6% 0.124 113.2)

  8. Step 700

    700

    #616700

    oklch(49.2% 0.11 113.7)

  9. Step 800

    800

    #4F5400

    oklch(42.7% 0.096 113.7)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#979F21 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)#AB97000.033
Deuteranopia (no green cones)#AB992D0.036
Tritanopia (no blue cones)#A295880.125
Achromatopsia (no color)#9898980.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #979F21

    #979F21

    oklch(67.4% 0.141 113.4)

  • #9B84E4

    #9B84E4

    oklch(67.4% 0.14 293.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #979F21

    #979F21

    oklch(67.4% 0.141 113.4)

  • #BF8D00

    #BF8D00

    oklch(67.4% 0.138 83.3)

  • #5CAC5A

    #5CAC5A

    oklch(67.3% 0.141 143.3)

Open the analogous palette in the generator

Split complementary

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

  • #979F21

    #979F21

    oklch(67.4% 0.141 113.4)

  • #6894ED

    #6894ED

    oklch(67.5% 0.141 263.2)

  • #C076C8

    #C076C8

    oklch(67.4% 0.142 323.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #979F21

    #979F21

    oklch(67.4% 0.141 113.4)

  • #00A3DE

    #00A3DE

    oklch(67.4% 0.14 233.4)

  • #D76F9D

    #D76F9D

    oklch(67.4% 0.14 353.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #979F21

    #979F21

    oklch(67.4% 0.141 113.4)

  • #00ABB6

    #00ABB6

    oklch(67.5% 0.115 202.9)

  • #9B84E4

    #9B84E4

    oklch(67.4% 0.14 293.3)

  • #E0706C

    #E0706C

    oklch(67.5% 0.141 23.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #979F21 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.