#979228

Closest named color: Pea Soup (#929901). oklch(64.5% 0.123 106.7), rgb(151, 146, 40).

Aa

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

About this color

#979228 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.123 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.029 away. Black text reads best on it, at 6.45:1.

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest namePea Soup (#929901)
Black text6.45:1
White text3.25:1

Values

HEX#979228
RGBrgb(151, 146, 40)
HSLhsl(57, 58%, 37%)
OKLCHoklch(64.5% 0.123 106.7)

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 #979228 3.25:1 AA large text Lc -65.1 Content text, not long reading
Black text on #979228 6.45:1 AA Lc 44.4 Non-text elements, placeholder text
#979228 text on white 3.25:1 AA large text Lc 59.7 Large or bold text, headings
#979228 text on black 6.45:1 AA Lc -42.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

    #DBDBC2

    oklch(88.5% 0.033 107.1)

  4. Step 300

    300

    #C5C497

    oklch(81% 0.06 106.6)

  5. Step 400

    400

    #A8A55B

    oklch(70.8% 0.096 106.6)

  6. Step 500

    500 (this color)

    #979228

    oklch(64.5% 0.123 106.7)

  7. Step 600

    600

    #7C7700

    oklch(55.6% 0.119 106.8)

  8. Step 700

    700

    #686400

    oklch(49.1% 0.105 107)

  9. Step 800

    800

    #555200

    oklch(42.8% 0.092 107.3)

  10. Step 900

    900

    #474400

    oklch(37.7% 0.081 106.8)

  11. Step 950

    950

    #292806

    oklch(27% 0.051 107.7)

Export this scale for Tailwind in the Tailwind colors tool

#979228 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)#9F8C150.018
Deuteranopia (no green cones)#A190300.019
Tritanopia (no blue cones)#A2887D0.111
Achromatopsia (no color)#8F8F8F0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #979228

    #979228

    oklch(64.5% 0.123 106.7)

  • #8981D5

    #8981D5

    oklch(64.6% 0.124 286.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #979228

    #979228

    oklch(64.5% 0.123 106.7)

  • #B88223

    #B88223

    oklch(64.5% 0.124 76.3)

  • #699F50

    #699F50

    oklch(64.6% 0.124 136.6)

Open the analogous palette in the generator

Split complementary

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

  • #979228

    #979228

    oklch(64.5% 0.123 106.7)

  • #5A8FD8

    #5A8FD8

    oklch(64.5% 0.124 256.7)

  • #AB75BF

    #AB75BF

    oklch(64.5% 0.122 316.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #979228

    #979228

    oklch(64.5% 0.123 106.7)

  • #059CC7

    #059CC7

    oklch(64.6% 0.123 226.4)

  • #C36D9D

    #C36D9D

    oklch(64.6% 0.123 346.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #979228

    #979228

    oklch(64.5% 0.123 106.7)

  • #00A2A4

    #00A2A4

    oklch(64.6% 0.11 196.3)

  • #8981D5

    #8981D5

    oklch(64.6% 0.124 286.8)

  • #CE6C73

    #CE6C73

    oklch(64.6% 0.124 16.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #979228 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.