#DEF378#DEF378
#DEF378 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.4% C 0.150 H 117.5°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF378 |
|---|---|
| RGB | rgb(222, 243, 120) |
| HSL | hsl(70, 84%, 71%) |
| HSV | hsv(70, 51%, 95%) |
| CMYK | cmyk(8.6%, 0%, 50.6%, 4.7%) |
| CIE-LAB | lab(92.13, -24.27, 56.36) |
| CIE-LCH | lch(92.13, 61.37, 113.30°) |
| OKLab | oklab(92.37% -0.0692 0.1332) |
| OKLCH | oklch(92.37% 0.15 117.5) |
| XYZ | xyz(65.5658, 80.9874, 29.9438) |
| Luminance | 0.8099 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 4.57
Light Yellow Green
#CCFD7F
ΔE00 5.31
Yellowish Tan
#FCFC81
ΔE00 5.39
Faded Yellow
#FEFF7F
ΔE00 5.60
Pale Yellow
#FFFF84
ΔE00 5.70
Butter
#FFFF81
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF378 #8D78F3
analogous
#F3CA78 #DEF378 #A0F378
triadic
#DEF378 #78DEF3 #F378DE
tetradic
#DEF378 #78F3CA #8D78F3 #F378A0
square
#DEF378 #78F3CA #8D78F3 #F378A0
split-complementary
#DEF378 #78A0F3 #CA78F3
monochromatic
#BBDD14 #D0EE40 #DEF378 #ECF8B0 #F8FDE3
Accessibility & contrast
On white
1.22
#DEF378 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.20
#DEF378 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF378
17.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF378 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF378 | 1.00 | 1.22 | 17.20 | 17.20 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE86D
Deuteranopia (green-blind)
#FFE97F
Tritanopia (blue-blind)
#E9E8D7
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #def378; /* rgb */ color: rgb(222, 243, 120); /* oklch */ color: oklch(92.4% 0.150 117.5);
Tailwind
colors: {
custom: {
50: '#eaf7a2',
500: '#def378',
950: '#000000',
},
}SCSS
$custom: #def378; $custom-light: #eaf7a2; $custom-dark: #000000;
JSON
{
"hex": "#def378",
"rgb": {
"r": 222,
"g": 243,
"b": 120
},
"hsl": {
"h": 70.244,
"s": 83.673,
"l": 71.176
},
"oklch": {
"l": 0.9237,
"c": 0.15009,
"h": 117.5
},
"luminance": 0.80987
}Semantic roles & 50–950 ramp
primary
#DEF378
secondary
#5A42CE
accent
#05E02B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580