#DCD27D#DCD27D
#DCD27D is a very light, moderate yellow. Relative luminance 0.628; OKLCH L 85.3% C 0.107 H 102.5°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD27D |
|---|---|
| RGB | rgb(220, 210, 125) |
| HSL | hsl(54, 58%, 68%) |
| HSV | hsv(54, 43%, 86%) |
| CMYK | cmyk(0%, 4.5%, 43.2%, 13.7%) |
| CIE-LAB | lab(83.33, -8.33, 43.25) |
| CIE-LCH | lch(83.33, 44.04, 100.90°) |
| OKLab | oklab(85.34% -0.0232 0.1046) |
| OKLCH | oklch(85.34% 0.107 102.5) |
| XYZ | xyz(56.2647, 62.7911, 28.5541) |
| Luminance | 0.6279 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.28
Sandy
#F1DA7A
ΔE00 4.55
Khaki (CSS)
#F0E68C
ΔE00 4.56
Greenish Beige
#C9D179
ΔE00 4.95
Wheat (survey)
#FBDD7E
ΔE00 6.55
Dull Yellow
#EEDC5B
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD27D #7D87DC
analogous
#DCA27D #DCD27D #B7DC7D
triadic
#DCD27D #7DDCD2 #D27DDC
tetradic
#DCD27D #7DDCA2 #7D87DC #DC7DB7
square
#DCD27D #7DDCA2 #7D87DC #DC7DB7
split-complementary
#DCD27D #7DB7DC #A27DDC
monochromatic
#AFA22F #CFC14D #DCD27D #E9E3AD #F6F3DD
Accessibility & contrast
On white
1.55
#DCD27D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.56
#DCD27D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD27D
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD27D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD27D | 1.00 | 1.55 | 13.56 | 13.56 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0CD76
Deuteranopia (green-blind)
#E3D281
Tritanopia (blue-blind)
#E9C7BD
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd27d; /* rgb */ color: rgb(220, 210, 125); /* oklch */ color: oklch(85.3% 0.107 102.5);
Tailwind
colors: {
custom: {
50: '#e8dfa4',
500: '#dcd27d',
950: '#000000',
},
}SCSS
$custom: #dcd27d; $custom-light: #e8dfa4; $custom-dark: #000000;
JSON
{
"hex": "#dcd27d",
"rgb": {
"r": 220,
"g": 210,
"b": 125
},
"hsl": {
"h": 53.684,
"s": 57.576,
"l": 67.647
},
"oklch": {
"l": 0.85342,
"c": 0.10711,
"h": 102.5
},
"luminance": 0.62789
}Semantic roles & 50–950 ramp
primary
#DCD27D
secondary
#4C56B2
accent
#32C520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480