#DEF0B5
Closest named color: Light Khaki (#E6F2A2). oklch(92.7% 0.079 121.7), rgb(222, 240, 181).
Aa
Black text reads best on this color (17.23:1).
About this color
#DEF0B5 is a very light, moderately saturated yellow. In OKLCH its lightness is 93%, its chroma 0.079 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Khaki (#E6F2A2), ΔE 0.026 away. Black text reads best on it, at 17.23:1.
| Hue family | Yellows |
| Lightness | very light (93%) |
| Chroma | moderately saturated (0.079) |
| Temperature | in between |
| Nearest name | Light Khaki (#E6F2A2) |
| Black text | 17.23:1 |
| White text | 1.21:1 |
Values
| HEX | #DEF0B5 |
| RGB | rgb(222, 240, 181) |
| HSL | hsl(78, 66%, 83%) |
| OKLCH | oklch(92.7% 0.079 121.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 #DEF0B5 | 1.21:1 | Fails | Lc -12.5 | Not readable |
| Black text on #DEF0B5 | 17.23:1 | AAA | Lc 92.8 | Preferred for body text |
| #DEF0B5 text on white | 1.21:1 | Fails | Lc 10.7 | Not readable |
| #DEF0B5 text on black | 17.23:1 | AAA | Lc -93.3 | 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
#F4F7ED
oklch(97.1% 0.014 120.3)
-
Step 100
100 (this color)
#DEF0B5
oklch(92.7% 0.079 121.7)
-
Step 200
200
#D3E0B6
oklch(88.6% 0.058 121.6)
-
Step 300
300
#B6CB80
oklch(80.9% 0.101 121.4)
-
Step 400
400
#91AF1D
oklch(70.7% 0.162 121.5)
-
Step 500
500
#7B9700
oklch(63.2% 0.153 121.9)
-
Step 600
600
#677F00
oklch(55.7% 0.135 121.9)
-
Step 700
700
#566A00
oklch(49% 0.118 121.7)
-
Step 800
800
#465700
oklch(42.7% 0.103 121.8)
-
Step 900
900
#3A4800
oklch(37.6% 0.091 121.4)
-
Step 950
950
#212B00
oklch(27% 0.066 122.2)
#DEF0B5 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) | #F7E9B1 | 0.035 |
| Deuteranopia (no green cones) | #F5E9B8 | 0.035 |
| Tritanopia (no blue cones) | #E3EAE0 | 0.065 |
| Achromatopsia (no color) | #E9E9E9 | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DEF0B5
#DEF0B5
oklch(92.7% 0.079 121.7)
- #ECE1FF
#ECE1FF
oklch(92.8% 0.042 302.2)
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 #DEF0B5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Khaki #E6F2A2 ΔE 0.026
- Pale Goldenrod #EEE8AA ΔE 0.026
- Very Pale Green #CFFDBC ΔE 0.035
- Tea Green #CAE7B9 ΔE 0.038
- Light Tan #FBEEAC ΔE 0.038
- Very Light Green #D1FFBD ΔE 0.038
- Lemon Meringue #EAE2B7 ΔE 0.040
- Light Sage #BCECAC ΔE 0.046
Use #DEF0B5 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.