#CCED7B
Closest named color: Pistachio (#C0FA8B). oklch(89.8% 0.146 122.7), rgb(204, 237, 123).
Aa
Black text reads best on this color (15.96:1).
About this color
#CCED7B is a light, vivid yellow. In OKLCH its lightness is 90%, its chroma 0.146 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.033 away. Black text reads best on it, at 15.96:1.
| Hue family | Yellows |
| Lightness | light (90%) |
| Chroma | vivid (0.146) |
| Temperature | in between |
| Nearest name | Pistachio (#C0FA8B) |
| Black text | 15.96:1 |
| White text | 1.31:1 |
Values
| HEX | #CCED7B |
| RGB | rgb(204, 237, 123) |
| HSL | hsl(77, 76%, 71%) |
| OKLCH | oklch(89.8% 0.146 122.7) |
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 #CCED7B | 1.31:1 | Fails | Lc -17.8 | Dividers and decoration only |
| Black text on #CCED7B | 15.96:1 | AAA | Lc 88.1 | Fine for body text |
| #CCED7B text on white | 1.31:1 | Fails | Lc 15.5 | Dividers and decoration only |
| #CCED7B text on black | 15.96:1 | AAA | Lc -88.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
#E3F0C9
oklch(93.5% 0.053 122.4)
-
Step 200
200 (this color)
#CCED7B
oklch(89.8% 0.146 122.7)
-
Step 300
300
#ABD328
oklch(81% 0.188 122.8)
-
Step 400
400
#8EB000
oklch(70.6% 0.172 122.4)
-
Step 500
500
#799700
oklch(63% 0.154 122.6)
-
Step 600
600
#657F00
oklch(55.6% 0.136 122.8)
-
Step 700
700
#556B00
oklch(49.2% 0.12 122.6)
-
Step 800
800
#455700
oklch(42.6% 0.104 122.4)
-
Step 900
900
#394900
oklch(37.8% 0.092 122.7)
-
Step 950
950
#212B00
oklch(27% 0.066 122.2)
#CCED7B 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) | #F8E171 | 0.062 |
| Deuteranopia (no green cones) | #F4E081 | 0.063 |
| Tritanopia (no blue cones) | #D4E3D3 | 0.121 |
| Achromatopsia (no color) | #E0E0E0 | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CCED7B
#CCED7B
oklch(89.8% 0.146 122.7)
- #E5D5FF
#E5D5FF
oklch(89.9% 0.059 302.6)
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 #CCED7B, closest first.
No curated palette has a color within ΔE 0.04 of #CCED7B.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pistachio #C0FA8B ΔE 0.033
- Light Yellow Green #CCFD7F ΔE 0.041
- Celery #C1FD95 ΔE 0.041
- Light Pea Green #C4FE82 ΔE 0.043
- Pear #CBF85F ΔE 0.044
- Washed Out Green #BCF5A6 ΔE 0.045
- Pale Light Green #B1FC99 ΔE 0.046
- Pale Lime #BEFD73 ΔE 0.047
Use #CCED7B 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.