#DCF262#DCF262
#DCF262 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 91.8% C 0.169 H 117.2°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).
Color values
| HEX | #DCF262 |
|---|---|
| RGB | rgb(220, 242, 98) |
| HSL | hsl(69, 85%, 67%) |
| HSV | hsv(69, 60%, 95%) |
| CMYK | cmyk(9.1%, 0%, 59.5%, 5.1%) |
| CIE-LAB | lab(91.51, -26.35, 65.26) |
| CIE-LCH | lch(91.51, 70.38, 111.99°) |
| OKLab | oklab(91.77% -0.077 0.1501) |
| OKLCH | oklch(91.77% 0.169 117.2) |
| XYZ | xyz(63.4731, 79.6024, 23.5739) |
| Luminance | 0.7960 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pear
#CBF85F
ΔE00 4.06
Sickly Yellow
#D0E429
ΔE00 4.78
Yellowy Green
#BFF128
ΔE00 5.42
Yellow Green
#C8FD3D
ΔE00 5.49
Yellowish Tan
#FCFC81
ΔE00 5.69
Faded Yellow
#FEFF7F
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCF262 #7862F2
analogous
#F2C062 #DCF262 #94F262
triadic
#DCF262 #62DCF2 #F262DC
tetradic
#DCF262 #62F2C0 #7862F2 #F26294
square
#DCF262 #62F2C0 #7862F2 #F26294
split-complementary
#DCF262 #6294F2 #C062F2
monochromatic
#ADC911 #CFED29 #DCF262 #E9F79B #F5FBD3
Accessibility & contrast
On white
1.24
#DCF262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.92
#DCF262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCF262
16.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCF262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCF262 | 1.00 | 1.24 | 16.92 | 16.92 |
| #FFFFFF | 1.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FFE86B
Tritanopia (blue-blind)
#E8E6D3
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #dcf262; /* rgb */ color: rgb(220, 242, 98); /* oklch */ color: oklch(91.8% 0.169 117.2);
Tailwind
colors: {
custom: {
50: '#eaf694',
500: '#dcf262',
950: '#000000',
},
}SCSS
$custom: #dcf262; $custom-light: #eaf694; $custom-dark: #000000;
JSON
{
"hex": "#dcf262",
"rgb": {
"r": 220,
"g": 242,
"b": 98
},
"hsl": {
"h": 69.167,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.91769,
"c": 0.16867,
"h": 117.2
},
"luminance": 0.79602
}Semantic roles & 50–950 ramp
primary
#DCF262
secondary
#4933C6
accent
#04E126
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F