#CFF28C
Closest named color: Pistachio (#C0FA8B). oklch(91.4% 0.134 124.5), rgb(207, 242, 140).
Aa
Black text reads best on this color (16.73:1).
About this color
#CFF28C is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.134 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.027 away. Black text reads best on it, at 16.73:1.
| Hue family | Yellows |
| Lightness | very light (91%) |
| Chroma | moderately saturated (0.134) |
| Temperature | in between |
| Nearest name | Pistachio (#C0FA8B) |
| Black text | 16.73:1 |
| White text | 1.25:1 |
Values
| HEX | #CFF28C |
| RGB | rgb(207, 242, 140) |
| HSL | hsl(81, 80%, 75%) |
| OKLCH | oklch(91.4% 0.134 124.5) |
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 #CFF28C | 1.25:1 | Fails | Lc -14.6 | Not readable |
| Black text on #CFF28C | 16.73:1 | AAA | Lc 91.0 | Preferred for body text |
| #CFF28C text on white | 1.25:1 | Fails | Lc 12.6 | Not readable |
| #CFF28C text on black | 16.73:1 | AAA | Lc -91.4 | Preferred 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 100.
-
Step 50
50
#F2F8E8
oklch(97% 0.022 123.6)
-
Step 100
100 (this color)
#CFF28C
oklch(91.4% 0.134 124.5)
-
Step 200
200
#CBE59E
oklch(88.6% 0.097 124.7)
-
Step 300
300
#A9D345
oklch(81% 0.173 124.4)
-
Step 400
400
#89B200
oklch(70.8% 0.177 124.5)
-
Step 500
500
#759800
oklch(63% 0.157 124.4)
-
Step 600
600
#628000
oklch(55.6% 0.139 124.4)
-
Step 700
700
#526C00
oklch(49.2% 0.123 124.5)
-
Step 800
800
#425800
oklch(42.6% 0.107 124.6)
-
Step 900
900
#374900
oklch(37.6% 0.094 124.1)
-
Step 950
950
#1F2C00
oklch(27.1% 0.068 125.1)
#CFF28C 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) | #FCE784 | 0.061 |
| Deuteranopia (no green cones) | #F7E591 | 0.062 |
| Tritanopia (no blue cones) | #D5E9D9 | 0.108 |
| Achromatopsia (no color) | #E5E5E5 | 0.134 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CFF28C
#CFF28C
oklch(91.4% 0.134 124.5)
- #EADBFF
#EADBFF
oklch(91.4% 0.051 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 #CFF28C, closest first.
No curated palette has a color within ΔE 0.04 of #CFF28C.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pistachio #C0FA8B ΔE 0.027
- Celery #C1FD95 ΔE 0.029
- Washed Out Green #BCF5A6 ΔE 0.032
- Light Yellow Green #CCFD7F ΔE 0.036
- Pale Light Green #B1FC99 ΔE 0.038
- Light Pea Green #C4FE82 ΔE 0.038
- Light Pastel Green #B2FBA5 ΔE 0.039
- Light Khaki #E6F2A2 ΔE 0.042
Use #CFF28C 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.