#DEF7CA#DEF7CA
#DEF7CA is a very light, moderate yellow-green. Relative luminance 0.863; OKLCH L 94.6% C 0.065 H 131.3°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF7CA |
|---|---|
| RGB | rgb(222, 247, 202) |
| HSL | hsl(93, 74%, 88%) |
| HSV | hsv(93, 18%, 97%) |
| CMYK | cmyk(10.1%, 0%, 18.2%, 3.1%) |
| CIE-LAB | lab(94.45, -16.00, 18.95) |
| CIE-LCH | lch(94.45, 24.80, 130.17°) |
| OKLab | oklab(94.64% -0.0428 0.0487) |
| OKLCH | oklch(94.64% 0.065 131.3) |
| XYZ | xyz(74.0438, 86.3148, 68.6252) |
| Luminance | 0.8631 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Very Pale Green
#CFFDBC
ΔE00 5.50
Very Light Green
#D1FFBD
ΔE00 5.63
Light Sage
#BCECAC
ΔE00 6.75
Pale Green
#C7FDB5
ΔE00 7.13
Ecru
#FEFFCA
ΔE00 7.58
Lightgoldenrodyellow
#FAFAD2
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF7CA #E3CAF7
analogous
#F4F7CA #DEF7CA #CAF7CC
triadic
#DEF7CA #CADEF7 #F7CADE
tetradic
#DEF7CA #CAF4F7 #E3CAF7 #F7CCCA
square
#DEF7CA #CAF4F7 #E3CAF7 #F7CCCA
split-complementary
#DEF7CA #CCCAF7 #F7CAF4
monochromatic
#9CE760 #BDEF95 #DEF7CA #EEFBE4 #EEFBE4
Accessibility & contrast
On white
1.15
#DEF7CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.26
#DEF7CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF7CA
18.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF7CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF7CA | 1.00 | 1.15 | 18.26 | 18.26 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCF0C7
Deuteranopia (green-blind)
#F7EECC
Tritanopia (blue-blind)
#DFF3EA
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #def7ca; /* rgb */ color: rgb(222, 247, 202); /* oklch */ color: oklch(94.6% 0.065 131.3);
Tailwind
colors: {
custom: {
50: '#e8f9da',
500: '#def7ca',
950: '#000000',
},
}SCSS
$custom: #def7ca; $custom-light: #e8f9da; $custom-dark: #000000;
JSON
{
"hex": "#def7ca",
"rgb": {
"r": 222,
"g": 247,
"b": 202
},
"hsl": {
"h": 93.333,
"s": 73.77,
"l": 88.039
},
"oklch": {
"l": 0.94636,
"c": 0.06481,
"h": 131.3
},
"luminance": 0.86315
}Semantic roles & 50–950 ramp
primary
#DEF7CA
secondary
#B78BDA
accent
#10D67E
background
#FEFFFE
surface
#FCFFFB
border
#D5D7D4
text
#161714
muted
#848583