#DCD57F#DCD57F
#DCD57F is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.0% C 0.108 H 104.4°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD57F |
|---|---|
| RGB | rgb(220, 213, 127) |
| HSL | hsl(55, 57%, 68%) |
| HSV | hsv(55, 42%, 86%) |
| CMYK | cmyk(0%, 3.2%, 42.3%, 13.7%) |
| CIE-LAB | lab(84.14, -9.65, 43.27) |
| CIE-LCH | lch(84.14, 44.33, 102.57°) |
| OKLab | oklab(85.99% -0.0268 0.1047) |
| OKLCH | oklch(85.99% 0.108 104.4) |
| XYZ | xyz(57.1413, 64.3380, 29.4830) |
| Luminance | 0.6434 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.06
Greenish Beige
#C9D179
ΔE00 4.30
Sandy
#F1DA7A
ΔE00 4.98
Sand (survey)
#E2CA76
ΔE00 5.27
Palegoldenrod
#EEE8AA
ΔE00 6.44
Dull Yellow
#EEDC5B
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD57F #7F86DC
analogous
#DCA67F #DCD57F #B4DC7F
triadic
#DCD57F #7FDCD5 #D57FDC
tetradic
#DCD57F #7FDCA6 #7F86DC #DC7FB4
square
#DCD57F #7FDCA6 #7F86DC #DC7FB4
split-complementary
#DCD57F #7FB4DC #A67FDC
monochromatic
#B0A730 #CFC54F #DCD57F #E9E5AF #F6F5DF
Accessibility & contrast
On white
1.51
#DCD57F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.87
#DCD57F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD57F
13.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD57F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD57F | 1.00 | 1.51 | 13.87 | 13.87 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CF78
Deuteranopia (green-blind)
#E5D483
Tritanopia (blue-blind)
#E8CBC0
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #dcd57f; /* rgb */ color: rgb(220, 213, 127); /* oklch */ color: oklch(86.0% 0.108 104.4);
Tailwind
colors: {
custom: {
50: '#e8e1a5',
500: '#dcd57f',
950: '#000000',
},
}SCSS
$custom: #dcd57f; $custom-light: #e8e1a5; $custom-dark: #000000;
JSON
{
"hex": "#dcd57f",
"rgb": {
"r": 220,
"g": 213,
"b": 127
},
"hsl": {
"h": 55.484,
"s": 57.055,
"l": 68.039
},
"oklch": {
"l": 0.85993,
"c": 0.10811,
"h": 104.4
},
"luminance": 0.64336
}Semantic roles & 50–950 ramp
primary
#DCD57F
secondary
#4D54B2
accent
#2DC521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480