#979C2F

Closest named color: Pea Soup (#929901). oklch(66.8% 0.129 112), rgb(151, 156, 47).

Aa

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

About this color

#979C2F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 67%, its chroma 0.129 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.021 away. Black text reads best on it, at 7.11:1.

Hue familyYellows
Lightnessmedium-light (67%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest namePea Soup (#929901)
Black text7.11:1
White text2.95:1

Values

HEX#979C2F
RGBrgb(151, 156, 47)
HSLhsl(63, 54%, 40%)
OKLCHoklch(66.8% 0.129 112)

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 #979C2F 2.95:1 Fails Lc -61.3 Content text, not long reading
Black text on #979C2F 7.11:1 AAA Lc 48.1 Large or bold text, headings
#979C2F text on white 2.95:1 Fails Lc 55.9 Large or bold text, headings
#979C2F text on black 7.11:1 AAA Lc -45.8 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 500.

  1. Step 50

    50

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #EAEBDE

    oklch(93.6% 0.017 110.3)

  3. Step 200

    200

    #D9DCC2

    oklch(88.5% 0.035 112.5)

  4. Step 300

    300

    #C1C596

    oklch(80.8% 0.063 111.8)

  5. Step 400

    400

    #A2A75A

    oklch(70.7% 0.101 112)

  6. Step 500

    500 (this color)

    #979C2F

    oklch(66.8% 0.129 112)

  7. Step 600

    600

    #767A00

    oklch(55.7% 0.123 112.1)

  8. Step 700

    700

    #636600

    oklch(49.1% 0.109 111.8)

  9. Step 800

    800

    #515300

    oklch(42.6% 0.094 111.4)

  10. Step 900

    900

    #434500

    oklch(37.6% 0.083 111.6)

  11. Step 950

    950

    #272905

    oklch(27% 0.054 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#979C2F 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)#A8951E0.028
Deuteranopia (no green cones)#A897370.031
Tritanopia (no blue cones)#A192860.115
Achromatopsia (no color)#9696960.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #979C2F

    #979C2F

    oklch(66.8% 0.129 112)

  • #9785DD

    #9785DD

    oklch(66.9% 0.129 291.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #979C2F

    #979C2F

    oklch(66.8% 0.129 112)

  • #BC8C1E

    #BC8C1E

    oklch(66.9% 0.129 82.3)

  • #63A85C

    #63A85C

    oklch(66.7% 0.129 142)

Open the analogous palette in the generator

Split complementary

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

  • #979C2F

    #979C2F

    oklch(66.8% 0.129 112)

  • #6893E4

    #6893E4

    oklch(66.8% 0.13 262.2)

  • #B978C3

    #B978C3

    oklch(66.7% 0.129 322)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #979C2F

    #979C2F

    oklch(66.8% 0.129 112)

  • #1FA1D6

    #1FA1D6

    oklch(66.7% 0.13 232.3)

  • #D0719D

    #D0719D

    oklch(66.8% 0.129 352)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #979C2F

    #979C2F

    oklch(66.8% 0.129 112)

  • #00A9B2

    #00A9B2

    oklch(66.9% 0.114 201.5)

  • #9785DD

    #9785DD

    oklch(66.9% 0.129 291.9)

  • #D97270

    #D97270

    oklch(66.9% 0.129 22.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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