#DEF74D#DEF74D
#DEF74D is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 92.8% C 0.189 H 117.5°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF74D |
|---|---|
| RGB | rgb(222, 247, 77) |
| HSL | hsl(69, 91%, 64%) |
| HSV | hsv(69, 69%, 97%) |
| CMYK | cmyk(10.1%, 0%, 68.8%, 3.1%) |
| CIE-LAB | lab(92.83, -29.21, 74.81) |
| CIE-LCH | lch(92.83, 80.31, 111.33°) |
| OKLab | oklab(92.82% -0.0871 0.1672) |
| OKLCH | oklch(92.82% 0.189 117.5) |
| XYZ | xyz(64.7260, 82.5876, 19.5510) |
| Luminance | 0.8259 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Lime Yellow
#D0FE1D
ΔE00 3.81
Greenish Yellow
#CDFD02
ΔE00 4.19
Neon Yellow
#CFFF04
ΔE00 4.28
Greeny Yellow
#C6F808
ΔE00 4.31
Sickly Yellow
#D0E429
ΔE00 4.32
Yellow Green
#C8FD3D
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF74D #664DF7
analogous
#F7BB4D #DEF74D #89F74D
triadic
#DEF74D #4DDEF7 #F74DDE
tetradic
#DEF74D #4DF7BB #664DF7 #F74D89
square
#DEF74D #4DF7BB #664DF7 #F74D89
split-complementary
#DEF74D #4D89F7 #BB4DF7
monochromatic
#A6C109 #D3F412 #DEF74D #E9FA88 #F4FCC2
Accessibility & contrast
On white
1.20
#DEF74D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.52
#DEF74D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF74D
17.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF74D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF74D | 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)
#FFEA31
Deuteranopia (green-blind)
#FFEB5A
Tritanopia (blue-blind)
#EBEAD6
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #def74d; /* rgb */ color: rgb(222, 247, 77); /* oklch */ color: oklch(92.8% 0.189 117.5);
Tailwind
colors: {
custom: {
50: '#ecf989',
500: '#def74d',
950: '#000000',
},
}SCSS
$custom: #def74d; $custom-light: #ecf989; $custom-dark: #000000;
JSON
{
"hex": "#def74d",
"rgb": {
"r": 222,
"g": 247,
"b": 77
},
"hsl": {
"h": 68.824,
"s": 91.398,
"l": 63.529
},
"oklch": {
"l": 0.92821,
"c": 0.18855,
"h": 117.5
},
"luminance": 0.82587
}Semantic roles & 50–950 ramp
primary
#DEF74D
secondary
#402ABE
accent
#00E622
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170C
muted
#85857F