#879F2F

Closest named color: Pea Soup (#929901). oklch(66.2% 0.138 120.8), rgb(135, 159, 47).

Aa

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

About this color

#879F2F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 66%, its chroma 0.138 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.022 away. Black text reads best on it, at 7.03:1.

Hue familyYellows
Lightnessmedium-light (66%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest namePea Soup (#929901)
Black text7.03:1
White text2.98:1

Values

HEX#879F2F
RGBrgb(135, 159, 47)
HSLhsl(73, 54%, 40%)
OKLCHoklch(66.2% 0.138 120.8)

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 #879F2F 2.98:1 Fails Lc -61.7 Content text, not long reading
Black text on #879F2F 7.03:1 AAA Lc 47.7 Large or bold text, headings
#879F2F text on white 2.98:1 Fails Lc 56.4 Large or bold text, headings
#879F2F text on black 7.03:1 AAA Lc -45.4 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

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E8ECDE

    oklch(93.6% 0.019 119.8)

  3. Step 200

    200

    #D5DDC2

    oklch(88.4% 0.037 120.6)

  4. Step 300

    300

    #BAC897

    oklch(81% 0.068 120.9)

  5. Step 400

    400

    #97AB5B

    oklch(70.8% 0.108 120.8)

  6. Step 500

    500 (this color)

    #879F2F

    oklch(66.2% 0.138 120.8)

  7. Step 600

    600

    #697E00

    oklch(55.6% 0.133 120.6)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #475700

    oklch(42.8% 0.103 121.1)

  10. Step 900

    900

    #3B4800

    oklch(37.7% 0.09 120.7)

  11. Step 950

    950

    #222A06

    oklch(26.8% 0.056 121.1)

Export this scale for Tailwind in the Tailwind colors tool

#879F2F 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)#A9961D0.051
Deuteranopia (no green cones)#A695380.054
Tritanopia (no blue cones)#8E97890.116
Achromatopsia (no color)#9595950.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #879F2F

    #879F2F

    oklch(66.2% 0.138 120.8)

  • #A17DDA

    #A17DDA

    oklch(66.2% 0.138 300.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #879F2F

    #879F2F

    oklch(66.2% 0.138 120.8)

  • #B28E00

    #B28E00

    oklch(66.1% 0.135 90.6)

  • #47AA65

    #47AA65

    oklch(66.2% 0.138 150.8)

Open the analogous palette in the generator

Split complementary

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

  • #879F2F

    #879F2F

    oklch(66.2% 0.138 120.8)

  • #748CE7

    #748CE7

    oklch(66.2% 0.138 271.1)

  • #C271BA

    #C271BA

    oklch(66.2% 0.138 330.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #879F2F

    #879F2F

    oklch(66.2% 0.138 120.8)

  • #2D9CDF

    #2D9CDF

    oklch(66.3% 0.138 240.9)

  • #D66B8E

    #D66B8E

    oklch(66.2% 0.139 0.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #879F2F

    #879F2F

    oklch(66.2% 0.138 120.8)

  • #00A5BA

    #00A5BA

    oklch(66.2% 0.115 210.6)

  • #A17DDA

    #A17DDA

    oklch(66.2% 0.138 300.5)

  • #DA6F5D

    #DA6F5D

    oklch(66.2% 0.138 31)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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