#DEF373#DEF373
#DEF373 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.3% C 0.155 H 117.3°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF373 |
|---|---|
| RGB | rgb(222, 243, 115) |
| HSL | hsl(70, 84%, 70%) |
| HSV | hsv(70, 53%, 95%) |
| CMYK | cmyk(8.6%, 0%, 52.7%, 4.7%) |
| CIE-LAB | lab(92.07, -24.71, 58.57) |
| CIE-LCH | lch(92.07, 63.57, 112.87°) |
| OKLab | oklab(92.31% -0.0709 0.1375) |
| OKLCH | oklch(92.31% 0.155 117.3) |
| XYZ | xyz(65.2702, 80.8692, 28.3872) |
| Luminance | 0.8087 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pear
#CBF85F
ΔE00 4.35
Yellowish Tan
#FCFC81
ΔE00 5.30
Faded Yellow
#FEFF7F
ΔE00 5.45
Light Yellow Green
#CCFD7F
ΔE00 5.53
Pale Yellow
#FFFF84
ΔE00 5.62
Butter
#FFFF81
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF373 #8873F3
analogous
#F3C873 #DEF373 #9EF373
triadic
#DEF373 #73DEF3 #F373DE
tetradic
#DEF373 #73F3C8 #8873F3 #F3739E
square
#DEF373 #73F3C8 #8873F3 #F3739E
split-complementary
#DEF373 #739EF3 #C873F3
monochromatic
#B8D913 #D1EE3B #DEF373 #EBF8AB #F8FDE3
Accessibility & contrast
On white
1.22
#DEF373 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.17
#DEF373 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF373
17.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF373 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF373 | 1.00 | 1.22 | 17.17 | 17.17 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE867
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#E9E7D6
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #def373; /* rgb */ color: rgb(222, 243, 115); /* oklch */ color: oklch(92.3% 0.155 117.3);
Tailwind
colors: {
custom: {
50: '#eaf79f',
500: '#def373',
950: '#000000',
},
}SCSS
$custom: #def373; $custom-light: #eaf79f; $custom-dark: #000000;
JSON
{
"hex": "#def373",
"rgb": {
"r": 222,
"g": 243,
"b": 115
},
"hsl": {
"h": 69.844,
"s": 84.211,
"l": 70.196
},
"oklch": {
"l": 0.9231,
"c": 0.15473,
"h": 117.3
},
"luminance": 0.80869
}Semantic roles & 50–950 ramp
primary
#DEF373
secondary
#553DCD
accent
#05E129
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580