#CDE271
Closest named color: Dull Yellow (#EEDC5B). oklch(87.4% 0.141 118.1), rgb(205, 226, 113).
Aa
Black text reads best on this color (14.71:1).
About this color
#CDE271 is a light, vivid yellow. In OKLCH its lightness is 87%, its chroma 0.141 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dull Yellow (#EEDC5B), ΔE 0.044 away. Black text reads best on it, at 14.71:1.
| Hue family | Yellows |
| Lightness | light (87%) |
| Chroma | vivid (0.141) |
| Temperature | in between |
| Nearest name | Dull Yellow (#EEDC5B) |
| Black text | 14.71:1 |
| White text | 1.42:1 |
Values
| HEX | #CDE271 |
| RGB | rgb(205, 226, 113) |
| HSL | hsl(71, 66%, 66%) |
| OKLCH | oklch(87.4% 0.141 118.1) |
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 #CDE271 | 1.42:1 | Fails | Lc -23.3 | Dividers and decoration only |
| Black text on #CDE271 | 14.71:1 | AAA | Lc 83.2 | Fine for body text |
| #CDE271 text on white | 1.42:1 | Fails | Lc 20.5 | Dividers and decoration only |
| #CDE271 text on black | 14.71:1 | AAA | Lc -82.9 | 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
#F4F8E6
oklch(97.1% 0.024 117)
-
Step 100
100
#E6EFC8
oklch(93.5% 0.052 118)
-
Step 200
200 (this color)
#CDE271
oklch(87.4% 0.141 118.1)
-
Step 300
300
#B7CF21
oklch(80.9% 0.181 118)
-
Step 400
400
#98AD00
oklch(70.6% 0.165 118.1)
-
Step 500
500
#829400
oklch(63% 0.147 118)
-
Step 600
600
#6D7D00
oklch(55.7% 0.13 118.3)
-
Step 700
700
#5B6900
oklch(49.2% 0.115 118.5)
-
Step 800
800
#4A5600
oklch(42.8% 0.1 118.6)
-
Step 900
900
#3E4700
oklch(37.7% 0.087 117.6)
-
Step 950
950
#242A00
oklch(27% 0.063 117.7)
#CDE271 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) | #EFD867 | 0.049 |
| Deuteranopia (no green cones) | #ECD977 | 0.049 |
| Tritanopia (no blue cones) | #D7D8C8 | 0.119 |
| Achromatopsia (no color) | #D8D8D8 | 0.141 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CDE271
#CDE271
oklch(87.4% 0.141 118.1)
- #DBCCFF
#DBCCFF
oklch(87.4% 0.071 298.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 #CDE271, closest first.
No curated palette has a color within ΔE 0.04 of #CDE271.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dull Yellow #EEDC5B ΔE 0.044
- Greenish Beige #C9D179 ΔE 0.049
- Sandy #F1DA7A ΔE 0.055
- Light Grey Green #B7E1A1 ΔE 0.057
- Khaki #F0E68C ΔE 0.059
- Pistachio #C0FA8B ΔE 0.060
- Pale Olive Green #B1D27B ΔE 0.061
- Light Mustard #F7D560 ΔE 0.061
Use #CDE271 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.