#DEF160#DEF160
#DEF160 is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 91.7% C 0.169 H 116.1°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF160 |
|---|---|
| RGB | rgb(222, 241, 96) |
| HSL | hsl(68, 84%, 66%) |
| HSV | hsv(68, 60%, 95%) |
| CMYK | cmyk(7.9%, 0%, 60.2%, 5.5%) |
| CIE-LAB | lab(91.36, -25.23, 65.98) |
| CIE-LCH | lch(91.36, 70.64, 110.93°) |
| OKLab | oklab(91.69% -0.0742 0.1513) |
| OKLCH | oklch(91.69% 0.169 116.1) |
| XYZ | xyz(63.6921, 79.2855, 23.0124) |
| Luminance | 0.7929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.45
Pear
#CBF85F
ΔE00 4.69
Canary
#FDFF63
ΔE00 5.32
Yellowish Tan
#FCFC81
ΔE00 5.34
Faded Yellow
#FEFF7F
ΔE00 5.37
Off Yellow
#F1F33F
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF160 #7360F1
analogous
#F1BB60 #DEF160 #95F160
triadic
#DEF160 #60DEF1 #F160DE
tetradic
#DEF160 #60F1BB #7360F1 #F16095
square
#DEF160 #60F1BB #7360F1 #F16095
split-complementary
#DEF160 #6095F1 #BB60F1
monochromatic
#AEC511 #D2EC28 #DEF160 #EAF698 #F5FBD0
Accessibility & contrast
On white
1.25
#DEF160 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.86
#DEF160 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF160
16.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF160 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF160 | 1.00 | 1.25 | 16.86 | 16.86 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE54F
Deuteranopia (green-blind)
#FFE769
Tritanopia (blue-blind)
#EBE4D2
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #def160; /* rgb */ color: rgb(222, 241, 96); /* oklch */ color: oklch(91.7% 0.169 116.1);
Tailwind
colors: {
custom: {
50: '#ebf593',
500: '#def160',
950: '#000000',
},
}SCSS
$custom: #def160; $custom-light: #ebf593; $custom-dark: #000000;
JSON
{
"hex": "#def160",
"rgb": {
"r": 222,
"g": 241,
"b": 96
},
"hsl": {
"h": 67.862,
"s": 83.815,
"l": 66.078
},
"oklch": {
"l": 0.91685,
"c": 0.1685,
"h": 116.1
},
"luminance": 0.79285
}Semantic roles & 50–950 ramp
primary
#DEF160
secondary
#4633C3
accent
#05E022
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F