#DCD27F#DCD27F
#DCD27F is a very light, moderate yellow. Relative luminance 0.628; OKLCH L 85.4% C 0.105 H 102.4°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD27F |
|---|---|
| RGB | rgb(220, 210, 127) |
| HSL | hsl(54, 57%, 68%) |
| HSV | hsv(54, 42%, 86%) |
| CMYK | cmyk(0%, 4.5%, 42.3%, 13.7%) |
| CIE-LAB | lab(83.36, -8.13, 42.29) |
| CIE-LCH | lch(83.36, 43.06, 100.88°) |
| OKLab | oklab(85.37% -0.0224 0.1025) |
| OKLCH | oklch(85.37% 0.105 102.4) |
| XYZ | xyz(56.3937, 62.8427, 29.2338) |
| Luminance | 0.6284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.27
Khaki (CSS)
#F0E68C
ΔE00 4.60
Sandy
#F1DA7A
ΔE00 4.66
Greenish Beige
#C9D179
ΔE00 4.97
Wheat (survey)
#FBDD7E
ΔE00 6.61
Beige (survey)
#E6DAA6
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD27F #7F89DC
analogous
#DCA37F #DCD27F #B8DC7F
triadic
#DCD27F #7FDCD2 #D27FDC
tetradic
#DCD27F #7FDCA3 #7F89DC #DC7FB8
square
#DCD27F #7FDCA3 #7F89DC #DC7FB8
split-complementary
#DCD27F #7FB8DC #A37FDC
monochromatic
#B0A330 #CFC14F #DCD27F #E9E3AF #F6F4DF
Accessibility & contrast
On white
1.55
#DCD27F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.57
#DCD27F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD27F
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD27F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD27F | 1.00 | 1.55 | 13.57 | 13.57 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0CD78
Deuteranopia (green-blind)
#E3D282
Tritanopia (blue-blind)
#E9C8BE
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd27f; /* rgb */ color: rgb(220, 210, 127); /* oklch */ color: oklch(85.4% 0.105 102.4);
Tailwind
colors: {
custom: {
50: '#e8dfa5',
500: '#dcd27f',
950: '#000000',
},
}SCSS
$custom: #dcd27f; $custom-light: #e8dfa5; $custom-dark: #000000;
JSON
{
"hex": "#dcd27f",
"rgb": {
"r": 220,
"g": 210,
"b": 127
},
"hsl": {
"h": 53.548,
"s": 57.055,
"l": 68.039
},
"oklch": {
"l": 0.85372,
"c": 0.10495,
"h": 102.4
},
"luminance": 0.62841
}Semantic roles & 50–950 ramp
primary
#DCD27F
secondary
#4D58B2
accent
#32C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480