#879B48

Closest named color: Moss (#769958). oklch(65.5% 0.112 120.8), rgb(135, 155, 72).

Aa

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

About this color

#879B48 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 66%, its chroma 0.112 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Moss (#769958), ΔE 0.028 away. Black text reads best on it, at 6.81:1.

Hue familyYellows
Lightnessmedium-light (66%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameMoss (#769958)
Black text6.81:1
White text3.08:1

Values

HEX#879B48
RGBrgb(135, 155, 72)
HSLhsl(74, 37%, 45%)
OKLCHoklch(65.5% 0.112 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 #879B48 3.08:1 AA large text Lc -63.1 Content text, not long reading
Black text on #879B48 6.81:1 AA Lc 46.4 Large or bold text, headings
#879B48 text on white 3.08:1 AA large text Lc 57.7 Large or bold text, headings
#879B48 text on black 6.81:1 AA Lc -44.1 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E8ECE0

    oklch(93.7% 0.017 121.8)

  3. Step 200

    200

    #D6DDC7

    oklch(88.6% 0.03 121.4)

  4. Step 300

    300

    #BBC69F

    oklch(80.8% 0.054 120.4)

  5. Step 400

    400

    #98A96A

    oklch(70.6% 0.088 121)

  6. Step 500

    500 (this color)

    #879B48

    oklch(65.5% 0.112 120.8)

  7. Step 600

    600

    #697D1C

    oklch(55.5% 0.121 120.9)

  8. Step 700

    700

    #586A0B

    oklch(49.2% 0.113 120.9)

  9. Step 800

    800

    #485610

    oklch(42.7% 0.093 120.6)

  10. Step 900

    900

    #3C4716

    oklch(37.6% 0.073 120.7)

  11. Step 950

    950

    #232A0E

    oklch(27% 0.047 121.3)

Export this scale for Tailwind in the Tailwind colors tool

#879B48 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)#A393400.043
Deuteranopia (no green cones)#A1934D0.044
Tritanopia (no blue cones)#8D94880.093
Achromatopsia (no color)#9393930.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #879B48

    #879B48

    oklch(65.5% 0.112 120.8)

  • #9C80CA

    #9C80CA

    oklch(65.5% 0.111 300.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #879B48

    #879B48

    oklch(65.5% 0.112 120.8)

  • #AA8E35

    #AA8E35

    oklch(65.6% 0.112 91.3)

  • #59A46D

    #59A46D

    oklch(65.5% 0.111 150.9)

Open the analogous palette in the generator

Split complementary

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

  • #879B48

    #879B48

    oklch(65.5% 0.112 120.8)

  • #778CD5

    #778CD5

    oklch(65.4% 0.112 270.9)

  • #B877B0

    #B877B0

    oklch(65.6% 0.111 331.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #879B48

    #879B48

    oklch(65.5% 0.112 120.8)

  • #4999CE

    #4999CE

    oklch(65.5% 0.111 240.5)

  • #C8728D

    #C8728D

    oklch(65.5% 0.112 0.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #879B48

    #879B48

    oklch(65.5% 0.112 120.8)

  • #0FA3B7

    #0FA3B7

    oklch(65.7% 0.112 210.3)

  • #9C80CA

    #9C80CA

    oklch(65.5% 0.111 300.8)

  • #CC7566

    #CC7566

    oklch(65.5% 0.112 30.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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