#CDF18A
Closest named color: Pistachio (#C0FA8B). oklch(91% 0.135 124.8), rgb(205, 241, 138).
Aa
Black text reads best on this color (16.54:1).
About this color
#CDF18A is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.135 and its hue 125°. 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.54:1.
| Hue family | Yellows |
| Lightness | very light (91%) |
| Chroma | moderately saturated (0.135) |
| Temperature | in between |
| Nearest name | Pistachio (#C0FA8B) |
| Black text | 16.54:1 |
| White text | 1.26:1 |
Values
| HEX | #CDF18A |
| RGB | rgb(205, 241, 138) |
| HSL | hsl(81, 79%, 74%) |
| OKLCH | oklch(91% 0.135 124.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #CDF18A | 1.26:1 | Fails | Lc -15.4 | Dividers and decoration only |
| Black text on #CDF18A | 16.54:1 | AAA | Lc 90.3 | Preferred for body text |
| #CDF18A text on white | 1.26:1 | Fails | Lc 13.3 | Not readable |
| #CDF18A text on black | 16.54:1 | AAA | Lc -90.6 | 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 200.
-
Step 50
50
#F2F8E8
oklch(97% 0.022 123.6)
-
Step 100
100
#E2F0CC
oklch(93.5% 0.05 124.7)
-
Step 200
200 (this color)
#CDF18A
oklch(91% 0.135 124.8)
-
Step 300
300
#A8D344
oklch(80.9% 0.174 124.7)
-
Step 400
400
#88B200
oklch(70.7% 0.177 124.8)
-
Step 500
500
#749900
oklch(63.2% 0.159 125)
-
Step 600
600
#618000
oklch(55.5% 0.139 124.8)
-
Step 700
700
#516C00
oklch(49.2% 0.123 125)
-
Step 800
800
#425800
oklch(42.6% 0.107 124.6)
-
Step 900
900
#364900
oklch(37.5% 0.094 124.8)
-
Step 950
950
#1F2C00
oklch(27.1% 0.068 125.1)
#CDF18A 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) | #FBE582 | 0.064 |
| Deuteranopia (no green cones) | #F6E490 | 0.064 |
| Tritanopia (no blue cones) | #D3E8D8 | 0.109 |
| Achromatopsia (no color) | #E4E4E4 | 0.136 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CDF18A
#CDF18A
oklch(91% 0.135 124.8)
- #E9D9FF
#E9D9FF
oklch(91% 0.054 304.4)
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 #CDF18A, closest first.
No curated palette has a color within ΔE 0.04 of #CDF18A.
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.031
- Washed Out Green #BCF5A6 ΔE 0.032
- Light Yellow Green #CCFD7F ΔE 0.037
- Pale Light Green #B1FC99 ΔE 0.038
- Light Pastel Green #B2FBA5 ΔE 0.039
- Light Pea Green #C4FE82 ΔE 0.039
- Pastel Green #B0FF9D ΔE 0.043
Use #CDF18A 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.