#DCD279#DCD279
#DCD279 is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.111 H 102.8°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD279 |
|---|---|
| RGB | rgb(220, 210, 121) |
| HSL | hsl(54, 59%, 67%) |
| HSV | hsv(54, 45%, 86%) |
| CMYK | cmyk(0%, 4.5%, 45%, 13.7%) |
| CIE-LAB | lab(83.28, -8.73, 45.16) |
| CIE-LCH | lch(83.28, 45.99, 100.94°) |
| OKLab | oklab(85.28% -0.0247 0.1086) |
| OKLCH | oklch(85.28% 0.111 102.8) |
| XYZ | xyz(56.0143, 62.6910, 27.2354) |
| Luminance | 0.6269 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.35
Sandy
#F1DA7A
ΔE00 4.39
Khaki (CSS)
#F0E68C
ΔE00 4.56
Greenish Beige
#C9D179
ΔE00 4.96
Dull Yellow
#EEDC5B
ΔE00 6.11
Wheat (survey)
#FBDD7E
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD279 #7983DC
analogous
#DCA179 #DCD279 #B5DC79
triadic
#DCD279 #79DCD2 #D279DC
tetradic
#DCD279 #79DCA1 #7983DC #DC79B5
square
#DCD279 #79DCA1 #7983DC #DC79B5
split-complementary
#DCD279 #79B5DC #A179DC
monochromatic
#ADA02D #CFC248 #DCD279 #E9E2AA #F5F3DA
Accessibility & contrast
On white
1.55
#DCD279 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.54
#DCD279 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD279
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD279 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD279 | 1.00 | 1.55 | 13.54 | 13.54 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0CD72
Deuteranopia (green-blind)
#E4D27D
Tritanopia (blue-blind)
#E9C7BD
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #dcd279; /* rgb */ color: rgb(220, 210, 121); /* oklch */ color: oklch(85.3% 0.111 102.8);
Tailwind
colors: {
custom: {
50: '#e8dfa1',
500: '#dcd279',
950: '#000000',
},
}SCSS
$custom: #dcd279; $custom-light: #e8dfa1; $custom-dark: #000000;
JSON
{
"hex": "#dcd279",
"rgb": {
"r": 220,
"g": 210,
"b": 121
},
"hsl": {
"h": 53.939,
"s": 58.58,
"l": 66.863
},
"oklch": {
"l": 0.85283,
"c": 0.11137,
"h": 102.8
},
"luminance": 0.62689
}Semantic roles & 50–950 ramp
primary
#DCD279
secondary
#4A54B0
accent
#30C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480