#DEF38B
Closest named color: Light Khaki (#E6F2A2). oklch(92.6% 0.131 118.4), rgb(222, 243, 139).
Aa
Black text reads best on this color (17.29:1).
About this color
#DEF38B is a very light, moderately saturated yellow. In OKLCH its lightness is 93%, its chroma 0.131 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Khaki (#E6F2A2), ΔE 0.030 away. Black text reads best on it, at 17.29:1.
| Hue family | Yellows |
| Lightness | very light (93%) |
| Chroma | moderately saturated (0.131) |
| Temperature | in between |
| Nearest name | Light Khaki (#E6F2A2) |
| Black text | 17.29:1 |
| White text | 1.21:1 |
Values
| HEX | #DEF38B |
| RGB | rgb(222, 243, 139) |
| HSL | hsl(72, 81%, 75%) |
| OKLCH | oklch(92.6% 0.131 118.4) |
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 #DEF38B | 1.21:1 | Fails | Lc -12.2 | Not readable |
| Black text on #DEF38B | 17.29:1 | AAA | Lc 93.1 | Preferred for body text |
| #DEF38B text on white | 1.21:1 | Fails | Lc 10.5 | Not readable |
| #DEF38B text on black | 17.29:1 | AAA | Lc -93.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 100.
-
Step 50
50
#F4F8E7
oklch(97.2% 0.023 117.6)
-
Step 100
100 (this color)
#DEF38B
oklch(92.6% 0.131 118.4)
-
Step 200
200
#D3E29B
oklch(88.5% 0.094 118.1)
-
Step 300
300
#B7CF3A
oklch(81% 0.169 118.4)
-
Step 400
400
#98AD00
oklch(70.6% 0.165 118.1)
-
Step 500
500
#829500
oklch(63.2% 0.148 118.4)
-
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
#3D4700
oklch(37.6% 0.088 118.5)
-
Step 950
950
#242A00
oklch(27% 0.063 117.7)
#DEF38B 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) | #FFE983 | 0.047 |
| Deuteranopia (no green cones) | #FDEA90 | 0.048 |
| Tritanopia (no blue cones) | #E7E9DA | 0.111 |
| Achromatopsia (no color) | #E9E9E9 | 0.131 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DEF38B
#DEF38B
oklch(92.6% 0.131 118.4)
- #EAE1FF
#EAE1FF
oklch(92.6% 0.041 299.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 #DEF38B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Khaki #E6F2A2 ΔE 0.030
- Celery #C1FD95 ΔE 0.039
- Pistachio #C0FA8B ΔE 0.039
- Light Yellow Green #CCFD7F ΔE 0.039
- Khaki #F0E68C ΔE 0.040
- Sandy Yellow #FDEE73 ΔE 0.042
- Straw #FCF679 ΔE 0.043
- Light Light Green #C8FFB0 ΔE 0.045
Use #DEF38B 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.