#C7EC7A
Closest named color: Pistachio (#C0FA8B). oklch(89.2% 0.147 124.2), rgb(199, 236, 122).
Aa
Black text reads best on this color (15.70:1).
About this color
#C7EC7A is a light, vivid yellow. In OKLCH its lightness is 89%, its chroma 0.147 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pistachio (#C0FA8B), ΔE 0.035 away. Black text reads best on it, at 15.70:1.
| Hue family | Yellows |
| Lightness | light (89%) |
| Chroma | vivid (0.147) |
| Temperature | in between |
| Nearest name | Pistachio (#C0FA8B) |
| Black text | 15.70:1 |
| White text | 1.33:1 |
Values
| HEX | #C7EC7A |
| RGB | rgb(199, 236, 122) |
| HSL | hsl(79, 75%, 70%) |
| OKLCH | oklch(89.2% 0.147 124.2) |
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 #C7EC7A | 1.33:1 | Fails | Lc -18.9 | Dividers and decoration only |
| Black text on #C7EC7A | 15.70:1 | AAA | Lc 87.1 | Fine for body text |
| #C7EC7A text on white | 1.33:1 | Fails | Lc 16.5 | Dividers and decoration only |
| #C7EC7A text on black | 15.70:1 | AAA | Lc -87.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
#F2F9E6
oklch(97.2% 0.026 123.4)
-
Step 100
100
#E2F1C9
oklch(93.7% 0.055 124.2)
-
Step 200
200 (this color)
#C7EC7A
oklch(89.2% 0.147 124.2)
-
Step 300
300
#A7D42A
oklch(80.9% 0.19 124.2)
-
Step 400
400
#8AB200
oklch(70.8% 0.176 124.2)
-
Step 500
500
#769800
oklch(63.1% 0.157 124)
-
Step 600
600
#628000
oklch(55.6% 0.139 124.4)
-
Step 700
700
#526B00
oklch(49% 0.122 124.1)
-
Step 800
800
#435800
oklch(42.7% 0.106 124.1)
-
Step 900
900
#374900
oklch(37.6% 0.094 124.1)
-
Step 950
950
#202B00
oklch(26.9% 0.066 123.3)
#C7EC7A 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) | #F7E070 | 0.066 |
| Deuteranopia (no green cones) | #F2DE81 | 0.068 |
| Tritanopia (no blue cones) | #CEE3D2 | 0.120 |
| Achromatopsia (no color) | #DFDFDF | 0.148 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C7EC7A
#C7EC7A
oklch(89.2% 0.147 124.2)
- #E5D2FF
#E5D2FF
oklch(89.3% 0.064 304.3)
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 #C7EC7A, closest first.
No curated palette has a color within ΔE 0.04 of #C7EC7A.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pistachio #C0FA8B ΔE 0.035
- Celery #C1FD95 ΔE 0.044
- Light Yellow Green #CCFD7F ΔE 0.045
- Pale Light Green #B1FC99 ΔE 0.045
- Light Pea Green #C4FE82 ΔE 0.045
- Washed Out Green #BCF5A6 ΔE 0.046
- Pear #CBF85F ΔE 0.046
- Pale Lime #BEFD73 ΔE 0.048
Use #C7EC7A 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.