#DCF462#DCF462
#DCF462 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.2% C 0.171 H 117.8°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).
Color values
| HEX | #DCF462 |
|---|---|
| RGB | rgb(220, 244, 98) |
| HSL | hsl(70, 87%, 67%) |
| HSV | hsv(70, 60%, 96%) |
| CMYK | cmyk(9.8%, 0%, 59.8%, 4.3%) |
| CIE-LAB | lab(92.04, -27.29, 65.85) |
| CIE-LCH | lch(92.04, 71.28, 112.51°) |
| OKLab | oklab(92.2% -0.0797 0.1513) |
| OKLCH | oklch(92.2% 0.171 117.8) |
| XYZ | xyz(64.0716, 80.7994, 23.7734) |
| Luminance | 0.8080 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pear
#CBF85F
ΔE00 3.68
Sickly Yellow
#D0E429
ΔE00 5.02
Yellow Green
#C8FD3D
ΔE00 5.07
Yellowy Green
#BFF128
ΔE00 5.19
Lime Yellow
#D0FE1D
ΔE00 5.43
Greeny Yellow
#C6F808
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCF462 #7A62F4
analogous
#F4C362 #DCF462 #93F462
triadic
#DCF462 #62DCF4 #F462DC
tetradic
#DCF462 #62F4C3 #7A62F4 #F46293
square
#DCF462 #62F4C3 #7A62F4 #F46293
split-complementary
#DCF462 #6293F4 #C362F4
monochromatic
#AECD0E #CFF029 #DCF462 #E9F89B #F6FCD4
Accessibility & contrast
On white
1.22
#DCF462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.16
#DCF462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCF462
17.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCF462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCF462 | 1.00 | 1.22 | 17.16 | 17.16 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFE96C
Tritanopia (blue-blind)
#E8E8D5
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #dcf462; /* rgb */ color: rgb(220, 244, 98); /* oklch */ color: oklch(92.2% 0.171 117.8);
Tailwind
colors: {
custom: {
50: '#eaf794',
500: '#dcf462',
950: '#000000',
},
}SCSS
$custom: #dcf462; $custom-light: #eaf794; $custom-dark: #000000;
JSON
{
"hex": "#dcf462",
"rgb": {
"r": 220,
"g": 244,
"b": 98
},
"hsl": {
"h": 69.863,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.92199,
"c": 0.17099,
"h": 117.8
},
"luminance": 0.80799
}Semantic roles & 50–950 ramp
primary
#DCF462
secondary
#4A31C9
accent
#02E327
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F