#DCD266#DCD266
#DCD266 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.0% C 0.130 H 104.0°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD266 |
|---|---|
| RGB | rgb(220, 210, 102) |
| HSL | hsl(55, 63%, 63%) |
| HSV | hsv(55, 54%, 86%) |
| CMYK | cmyk(0%, 4.5%, 53.6%, 13.7%) |
| CIE-LAB | lab(83.06, -10.41, 53.98) |
| CIE-LCH | lch(83.06, 54.97, 100.91°) |
| OKLab | oklab(85.03% -0.0315 0.1264) |
| OKLCH | oklch(85.03% 0.13 104) |
| XYZ | xyz(54.9617, 62.2699, 21.6919) |
| Luminance | 0.6227 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.13
Sandy
#F1DA7A
ΔE00 4.69
Khaki (CSS)
#F0E68C
ΔE00 5.47
Sand (survey)
#E2CA76
ΔE00 5.50
Greenish Beige
#C9D179
ΔE00 5.96
Sand Yellow
#FCE166
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD266 #6670DC
analogous
#DC9766 #DCD266 #ABDC66
triadic
#DCD266 #66DCD2 #D266DC
tetradic
#DCD266 #66DC97 #6670DC #DC66AB
square
#DCD266 #66DC97 #6670DC #DC66AB
split-complementary
#DCD266 #66ABDC #9766DC
monochromatic
#A29825 #D1C334 #DCD266 #E7E198 #F3EFCA
Accessibility & contrast
On white
1.56
#DCD266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.45
#DCD266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD266
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD266 | 1.00 | 1.56 | 13.45 | 13.45 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CC5C
Deuteranopia (green-blind)
#E5D16B
Tritanopia (blue-blind)
#EAC6BA
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #dcd266; /* rgb */ color: rgb(220, 210, 102); /* oklch */ color: oklch(85.0% 0.130 104.0);
Tailwind
colors: {
custom: {
50: '#e9df95',
500: '#dcd266',
950: '#000000',
},
}SCSS
$custom: #dcd266; $custom-light: #e9df95; $custom-dark: #000000;
JSON
{
"hex": "#dcd266",
"rgb": {
"r": 220,
"g": 210,
"b": 102
},
"hsl": {
"h": 54.915,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.85034,
"c": 0.13022,
"h": 104
},
"luminance": 0.62268
}Semantic roles & 50–950 ramp
primary
#DCD266
secondary
#4149A6
accent
#2ACB1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F