#DCF162#DCF162
#DCF162 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 91.6% C 0.168 H 116.9°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).
Color values
| HEX | #DCF162 |
|---|---|
| RGB | rgb(220, 241, 98) |
| HSL | hsl(69, 84%, 66%) |
| HSV | hsv(69, 59%, 95%) |
| CMYK | cmyk(8.7%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(91.24, -25.88, 64.97) |
| CIE-LCH | lch(91.24, 69.93, 111.72°) |
| OKLab | oklab(91.55% -0.0757 0.1494) |
| OKLCH | oklch(91.55% 0.168 116.9) |
| XYZ | xyz(63.1763, 79.0088, 23.4750) |
| Luminance | 0.7901 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pear
#CBF85F
ΔE00 4.26
Sickly Yellow
#D0E429
ΔE00 4.67
Yellowy Green
#BFF128
ΔE00 5.55
Yellowish Tan
#FCFC81
ΔE00 5.62
Faded Yellow
#FEFF7F
ΔE00 5.66
Yellow Green
#C8FD3D
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCF162 #7762F1
analogous
#F1BF62 #DCF162 #95F162
triadic
#DCF162 #62DCF1 #F162DC
tetradic
#DCF162 #62F1BF #7762F1 #F16295
square
#DCF162 #62F1BF #7762F1 #F16295
split-complementary
#DCF162 #6295F1 #BF62F1
monochromatic
#ACC712 #CFEC2A #DCF162 #E9F69A #F5FBD2
Accessibility & contrast
On white
1.25
#DCF162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.80
#DCF162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCF162
16.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCF162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCF162 | 1.00 | 1.25 | 16.80 | 16.80 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FEE76B
Tritanopia (blue-blind)
#E8E5D3
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #dcf162; /* rgb */ color: rgb(220, 241, 98); /* oklch */ color: oklch(91.6% 0.168 116.9);
Tailwind
colors: {
custom: {
50: '#eaf594',
500: '#dcf162',
950: '#000000',
},
}SCSS
$custom: #dcf162; $custom-light: #eaf594; $custom-dark: #000000;
JSON
{
"hex": "#dcf162",
"rgb": {
"r": 220,
"g": 241,
"b": 98
},
"hsl": {
"h": 68.811,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.91554,
"c": 0.16752,
"h": 116.9
},
"luminance": 0.79008
}Semantic roles & 50–950 ramp
primary
#DCF162
secondary
#4833C4
accent
#05E026
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F