#DCD07F#DCD07F
#DCD07F is a very light, moderate yellow. Relative luminance 0.619; OKLCH L 85.0% C 0.103 H 100.9°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD07F |
|---|---|
| RGB | rgb(220, 208, 127) |
| HSL | hsl(52, 57%, 68%) |
| HSV | hsv(52, 42%, 86%) |
| CMYK | cmyk(0%, 5.5%, 42.3%, 13.7%) |
| CIE-LAB | lab(82.84, -7.11, 41.63) |
| CIE-LCH | lch(82.84, 42.23, 99.69°) |
| OKLab | oklab(84.96% -0.0195 0.101) |
| OKLCH | oklch(84.96% 0.103 100.9) |
| XYZ | xyz(55.9030, 61.8614, 29.0702) |
| Luminance | 0.6186 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.63
Sandy
#F1DA7A
ΔE00 4.59
Khaki (CSS)
#F0E68C
ΔE00 5.07
Greenish Beige
#C9D179
ΔE00 5.52
Beige (survey)
#E6DAA6
ΔE00 6.41
Wheat (survey)
#FBDD7E
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD07F #7F8BDC
analogous
#DCA17F #DCD07F #B9DC7F
triadic
#DCD07F #7FDCD0 #D07FDC
tetradic
#DCD07F #7FDCA1 #7F8BDC #DC7FB9
square
#DCD07F #7FDCA1 #7F8BDC #DC7FB9
split-complementary
#DCD07F #7FB9DC #A17FDC
monochromatic
#B0A030 #CFBE4F #DCD07F #E9E2AF #F6F3DF
Accessibility & contrast
On white
1.57
#DCD07F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.37
#DCD07F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD07F
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD07F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD07F | 1.00 | 1.57 | 13.37 | 13.37 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DECB79
Deuteranopia (green-blind)
#E2D182
Tritanopia (blue-blind)
#E9C6BC
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #dcd07f; /* rgb */ color: rgb(220, 208, 127); /* oklch */ color: oklch(85.0% 0.103 100.9);
Tailwind
colors: {
custom: {
50: '#e8dea5',
500: '#dcd07f',
950: '#000000',
},
}SCSS
$custom: #dcd07f; $custom-light: #e8dea5; $custom-dark: #000000;
JSON
{
"hex": "#dcd07f",
"rgb": {
"r": 220,
"g": 208,
"b": 127
},
"hsl": {
"h": 52.258,
"s": 57.055,
"l": 68.039
},
"oklch": {
"l": 0.8496,
"c": 0.10291,
"h": 100.9
},
"luminance": 0.6186
}Semantic roles & 50–950 ramp
primary
#DCD07F
secondary
#4D5AB2
accent
#36C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480