#879F20

Closest named color: Pea Soup (#929901). oklch(66.1% 0.147 120.3), rgb(135, 159, 32).

Aa

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

About this color

#879F20 is a medium-light, vivid yellow. In OKLCH its lightness is 66%, its chroma 0.147 and its hue 120°. 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.01:1.

Hue familyYellows
Lightnessmedium-light (66%)
Chromavivid (0.147)
Temperaturein between
Nearest namePea Soup (#929901)
Black text7.01:1
White text2.99:1

Values

HEX#879F20
RGBrgb(135, 159, 32)
HSLhsl(71, 66%, 37%)
OKLCHoklch(66.1% 0.147 120.3)

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 #879F20 2.99:1 Fails Lc -61.8 Content text, not long reading
Black text on #879F20 7.01:1 AAA Lc 47.6 Large or bold text, headings
#879F20 text on white 2.99:1 Fails Lc 56.5 Large or bold text, headings
#879F20 text on black 7.01:1 AAA Lc -45.3 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

    #F4F6EF

    oklch(97% 0.009 119.6)

  2. Step 100

    100

    #E8ECDD

    oklch(93.6% 0.02 118.9)

  3. Step 200

    200

    #D5DEC0

    oklch(88.6% 0.041 120.8)

  4. Step 300

    300

    #BAC894

    oklch(80.9% 0.072 120.3)

  5. Step 400

    400

    #97AB55

    oklch(70.7% 0.114 120.2)

  6. Step 500

    500 (this color)

    #879F20

    oklch(66.1% 0.147 120.3)

  7. Step 600

    600

    #697E00

    oklch(55.6% 0.133 120.6)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3B4800

    oklch(37.7% 0.09 120.7)

  11. Step 950

    950

    #232A03

    oklch(26.9% 0.059 119.3)

Export this scale for Tailwind in the Tailwind colors tool

#879F20 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)#A995000.052
Deuteranopia (no green cones)#A7952D0.056
Tritanopia (no blue cones)#8F96880.125
Achromatopsia (no color)#9595950.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #879F20

    #879F20

    oklch(66.1% 0.147 120.3)

  • #A27BDE

    #A27BDE

    oklch(66.2% 0.147 300.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #879F20

    #879F20

    oklch(66.1% 0.147 120.3)

  • #B28E00

    #B28E00

    oklch(66.1% 0.135 90.6)

  • #40AB61

    #40AB61

    oklch(66.1% 0.146 150.5)

Open the analogous palette in the generator

Split complementary

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

  • #879F20

    #879F20

    oklch(66.1% 0.147 120.3)

  • #718BEC

    #718BEC

    oklch(66.1% 0.147 270.6)

  • #C46EBD

    #C46EBD

    oklch(66.1% 0.148 330.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #879F20

    #879F20

    oklch(66.1% 0.147 120.3)

  • #189CE3

    #189CE3

    oklch(66.1% 0.147 240.4)

  • #D9688E

    #D9688E

    oklch(66.2% 0.147 0.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #879F20

    #879F20

    oklch(66.1% 0.147 120.3)

  • #00A5B9

    #00A5B9

    oklch(66.1% 0.114 209.9)

  • #A27BDE

    #A27BDE

    oklch(66.2% 0.147 300.6)

  • #DE6B5A

    #DE6B5A

    oklch(66.1% 0.147 30.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #879F20 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.