#DCF266#DCF266
#DCF266 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 91.8% C 0.165 H 117.3°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).
Color values
| HEX | #DCF266 |
|---|---|
| RGB | rgb(220, 242, 102) |
| HSL | hsl(69, 84%, 67%) |
| HSV | hsv(69, 58%, 95%) |
| CMYK | cmyk(9.1%, 0%, 57.9%, 5.1%) |
| CIE-LAB | lab(91.54, -26.06, 63.61) |
| CIE-LCH | lch(91.54, 68.74, 112.27°) |
| OKLab | oklab(91.81% -0.0758 0.147) |
| OKLCH | oklch(91.81% 0.165 117.3) |
| XYZ | xyz(63.6667, 79.6799, 24.5936) |
| Luminance | 0.7968 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pear
#CBF85F
ΔE00 4.01
Sickly Yellow
#D0E429
ΔE00 5.12
Yellowish Tan
#FCFC81
ΔE00 5.62
Yellowy Green
#BFF128
ΔE00 5.65
Yellow Green
#C8FD3D
ΔE00 5.67
Faded Yellow
#FEFF7F
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCF266 #7C66F2
analogous
#F2C266 #DCF266 #96F266
triadic
#DCF266 #66DCF2 #F266DC
tetradic
#DCF266 #66F2C2 #7C66F2 #F26696
square
#DCF266 #66F2C2 #7C66F2 #F26696
split-complementary
#DCF266 #6696F2 #C266F2
monochromatic
#AFCC11 #CFED2E #DCF266 #E9F79E #F6FCD7
Accessibility & contrast
On white
1.24
#DCF266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.94
#DCF266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCF266
16.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCF266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCF266 | 1.00 | 1.24 | 16.94 | 16.94 |
| #FFFFFF | 1.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE657
Deuteranopia (green-blind)
#FFE86F
Tritanopia (blue-blind)
#E8E6D4
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #dcf266; /* rgb */ color: rgb(220, 242, 102); /* oklch */ color: oklch(91.8% 0.165 117.3);
Tailwind
colors: {
custom: {
50: '#e9f696',
500: '#dcf266',
950: '#000000',
},
}SCSS
$custom: #dcf266; $custom-light: #e9f696; $custom-dark: #000000;
JSON
{
"hex": "#dcf266",
"rgb": {
"r": 220,
"g": 242,
"b": 102
},
"hsl": {
"h": 69.429,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.91808,
"c": 0.16542,
"h": 117.3
},
"luminance": 0.79679
}Semantic roles & 50–950 ramp
primary
#DCF266
secondary
#4B34C9
accent
#05E127
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F