#DEF671#DEF671
#DEF671 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.9% C 0.160 H 118.2°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF671 |
|---|---|
| RGB | rgb(222, 246, 113) |
| HSL | hsl(71, 88%, 70%) |
| HSV | hsv(71, 54%, 96%) |
| CMYK | cmyk(9.8%, 0%, 54.1%, 3.5%) |
| CIE-LAB | lab(92.85, -26.30, 60.36) |
| CIE-LCH | lch(92.85, 65.84, 113.54°) |
| OKLab | oklab(92.93% -0.0756 0.1412) |
| OKLCH | oklch(92.93% 0.16 118.2) |
| XYZ | xyz(66.0615, 82.6339, 28.0894) |
| Luminance | 0.8263 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 3.72
Light Yellow Green
#CCFD7F
ΔE00 5.11
Yellowish Tan
#FCFC81
ΔE00 5.55
Faded Yellow
#FEFF7F
ΔE00 5.59
Butter
#FFFF81
ΔE00 5.80
Yellow Green
#C8FD3D
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF671 #8971F6
analogous
#F6CB71 #DEF671 #9BF671
triadic
#DEF671 #71DEF6 #F671DE
tetradic
#DEF671 #71F6CB #8971F6 #F6719B
square
#DEF671 #71F6CB #8971F6 #F6719B
split-complementary
#DEF671 #719BF6 #CB71F6
monochromatic
#B9DE0E #D1F237 #DEF671 #EBFAAB #F8FDE2
Accessibility & contrast
On white
1.20
#DEF671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.53
#DEF671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF671
17.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF671 | 1.00 | 1.20 | 17.53 | 17.53 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FFEB79
Tritanopia (blue-blind)
#E9EAD9
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #def671; /* rgb */ color: rgb(222, 246, 113); /* oklch */ color: oklch(92.9% 0.160 118.2);
Tailwind
colors: {
custom: {
50: '#ebf99e',
500: '#def671',
950: '#000000',
},
}SCSS
$custom: #def671; $custom-light: #ebf99e; $custom-dark: #000000;
JSON
{
"hex": "#def671",
"rgb": {
"r": 222,
"g": 246,
"b": 113
},
"hsl": {
"h": 70.827,
"s": 88.079,
"l": 70.392
},
"oklch": {
"l": 0.9293,
"c": 0.16015,
"h": 118.2
},
"luminance": 0.82633
}Semantic roles & 50–950 ramp
primary
#DEF671
secondary
#563BD0
accent
#01E52A
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580