#C7E879
Closest named color: Pistachio (#C0FA8B). oklch(88.3% 0.143 123), rgb(199, 232, 121).
Aa
Black text reads best on this color (15.24:1).
About this color
#C7E879 is a light, vivid yellow. In OKLCH its lightness is 88%, its chroma 0.143 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pistachio (#C0FA8B), ΔE 0.045 away. Black text reads best on it, at 15.24:1.
| Hue family | Yellows |
| Lightness | light (88%) |
| Chroma | vivid (0.143) |
| Temperature | in between |
| Nearest name | Pistachio (#C0FA8B) |
| Black text | 15.24:1 |
| White text | 1.37:1 |
Values
| HEX | #C7E879 |
| RGB | rgb(199, 232, 121) |
| HSL | hsl(78, 71%, 69%) |
| OKLCH | oklch(88.3% 0.143 123) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #C7E879 | 1.37:1 | Fails | Lc -20.9 | Dividers and decoration only |
| Black text on #C7E879 | 15.24:1 | AAA | Lc 85.4 | Fine for body text |
| #C7E879 text on white | 1.37:1 | Fails | Lc 18.3 | Dividers and decoration only |
| #C7E879 text on black | 15.24:1 | AAA | Lc -85.2 | Fine for body 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 200.
-
Step 50
50
#F2F9E7
oklch(97.2% 0.025 124.3)
-
Step 100
100
#E3F0CA
oklch(93.6% 0.052 122.8)
-
Step 200
200 (this color)
#C7E879
oklch(88.3% 0.143 123)
-
Step 300
300
#ABD330
oklch(81% 0.184 123)
-
Step 400
400
#8DB100
oklch(70.8% 0.174 123)
-
Step 500
500
#789700
oklch(63% 0.154 123)
-
Step 600
600
#657F00
oklch(55.6% 0.136 122.8)
-
Step 700
700
#546B00
oklch(49.1% 0.121 123.1)
-
Step 800
800
#445800
oklch(42.8% 0.106 123.5)
-
Step 900
900
#394900
oklch(37.8% 0.092 122.7)
-
Step 950
950
#202B00
oklch(26.9% 0.066 123.3)
#C7E879 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #F3DC6F | 0.062 |
| Deuteranopia (no green cones) | #EFDB7F | 0.063 |
| Tritanopia (no blue cones) | #CFDFCE | 0.116 |
| Achromatopsia (no color) | #DCDCDC | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C7E879
#C7E879
oklch(88.3% 0.143 123)
- #E1CEFF
#E1CEFF
oklch(88.3% 0.069 302.7)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #C7E879, closest first.
No curated palette has a color within ΔE 0.04 of #C7E879.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pistachio #C0FA8B ΔE 0.045
- Washed Out Green #BCF5A6 ΔE 0.049
- Celery #C1FD95 ΔE 0.053
- Pale Light Green #B1FC99 ΔE 0.053
- Pear #CBF85F ΔE 0.055
- Light Sage #BCECAC ΔE 0.055
- Dull Yellow #EEDC5B ΔE 0.055
- Light Yellow Green #CCFD7F ΔE 0.055
Use #C7E879 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.