#DCD276#DCD276
#DCD276 is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.2% C 0.115 H 103.0°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD276 |
|---|---|
| RGB | rgb(220, 210, 118) |
| HSL | hsl(54, 59%, 66%) |
| HSV | hsv(54, 46%, 86%) |
| CMYK | cmyk(0%, 4.5%, 46.4%, 13.7%) |
| CIE-LAB | lab(83.24, -9.01, 46.58) |
| CIE-LCH | lch(83.24, 47.44, 100.95°) |
| OKLab | oklab(85.24% -0.0258 0.1116) |
| OKLCH | oklch(85.24% 0.115 103) |
| XYZ | xyz(55.8332, 62.6185, 26.2815) |
| Luminance | 0.6262 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 4.33
Sand (survey)
#E2CA76
ΔE00 4.46
Khaki (CSS)
#F0E68C
ΔE00 4.61
Greenish Beige
#C9D179
ΔE00 5.03
Dull Yellow
#EEDC5B
ΔE00 5.73
Wheat (survey)
#FBDD7E
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD276 #7680DC
analogous
#DC9F76 #DCD276 #B3DC76
triadic
#DCD276 #76DCD2 #D276DC
tetradic
#DCD276 #76DC9F #7680DC #DC76B3
square
#DCD276 #76DC9F #7680DC #DC76B3
split-complementary
#DCD276 #76B3DC #9F76DC
monochromatic
#AC9F2C #D0C245 #DCD276 #E8E2A7 #F5F2D7
Accessibility & contrast
On white
1.55
#DCD276 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.52
#DCD276 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD276
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD276 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD276 | 1.00 | 1.55 | 13.52 | 13.52 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CC6E
Deuteranopia (green-blind)
#E4D27A
Tritanopia (blue-blind)
#E9C7BC
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #dcd276; /* rgb */ color: rgb(220, 210, 118); /* oklch */ color: oklch(85.2% 0.115 103.0);
Tailwind
colors: {
custom: {
50: '#e9df9f',
500: '#dcd276',
950: '#000000',
},
}SCSS
$custom: #dcd276; $custom-light: #e9df9f; $custom-dark: #000000;
JSON
{
"hex": "#dcd276",
"rgb": {
"r": 220,
"g": 210,
"b": 118
},
"hsl": {
"h": 54.118,
"s": 59.302,
"l": 66.275
},
"oklch": {
"l": 0.8524,
"c": 0.1145,
"h": 103
},
"luminance": 0.62617
}Semantic roles & 50–950 ramp
primary
#DCD276
secondary
#4852AE
accent
#2FC71F
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480