#DEF74E#DEF74E
#DEF74E is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 92.8% C 0.188 H 117.5°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF74E |
|---|---|
| RGB | rgb(222, 247, 78) |
| HSL | hsl(69, 91%, 64%) |
| HSV | hsv(69, 68%, 97%) |
| CMYK | cmyk(10.1%, 0%, 68.4%, 3.1%) |
| CIE-LAB | lab(92.84, -29.16, 74.46) |
| CIE-LCH | lch(92.84, 79.97, 111.39°) |
| OKLab | oklab(92.83% -0.0869 0.1667) |
| OKLCH | oklch(92.83% 0.188 117.5) |
| XYZ | xyz(64.7615, 82.6019, 19.7384) |
| Luminance | 0.8260 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Lime Yellow
#D0FE1D
ΔE00 3.85
Greenish Yellow
#CDFD02
ΔE00 4.23
Neon Yellow
#CFFF04
ΔE00 4.32
Greeny Yellow
#C6F808
ΔE00 4.34
Sickly Yellow
#D0E429
ΔE00 4.35
Yellow Green
#C8FD3D
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF74E #674EF7
analogous
#F7BB4E #DEF74E #89F74E
triadic
#DEF74E #4EDEF7 #F74EDE
tetradic
#DEF74E #4EF7BB #674EF7 #F74E89
square
#DEF74E #4EF7BB #674EF7 #F74E89
split-complementary
#DEF74E #4E89F7 #BB4EF7
monochromatic
#A6C209 #D3F413 #DEF74E #E9FA89 #F4FCC3
Accessibility & contrast
On white
1.20
#DEF74E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.52
#DEF74E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF74E
17.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF74E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF74E | 1.00 | 1.20 | 17.52 | 17.52 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA33
Deuteranopia (green-blind)
#FFEB5B
Tritanopia (blue-blind)
#EBEAD6
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #def74e; /* rgb */ color: rgb(222, 247, 78); /* oklch */ color: oklch(92.8% 0.188 117.5);
Tailwind
colors: {
custom: {
50: '#ecf989',
500: '#def74e',
950: '#000000',
},
}SCSS
$custom: #def74e; $custom-light: #ecf989; $custom-dark: #000000;
JSON
{
"hex": "#def74e",
"rgb": {
"r": 222,
"g": 247,
"b": 78
},
"hsl": {
"h": 68.876,
"s": 91.351,
"l": 63.725
},
"oklch": {
"l": 0.92828,
"c": 0.18793,
"h": 117.5
},
"luminance": 0.82601
}Semantic roles & 50–950 ramp
primary
#DEF74E
secondary
#402ABF
accent
#00E622
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170C
muted
#85857F