#DCD498#DCD498
#DCD498 is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 86.2% C 0.078 H 101.4°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD498 |
|---|---|
| RGB | rgb(220, 212, 152) |
| HSL | hsl(53, 49%, 73%) |
| HSV | hsv(53, 31%, 86%) |
| CMYK | cmyk(0%, 3.6%, 30.9%, 13.7%) |
| CIE-LAB | lab(84.26, -6.30, 30.75) |
| CIE-LCH | lch(84.26, 31.38, 101.58°) |
| OKLab | oklab(86.21% -0.0155 0.0768) |
| OKLCH | oklch(86.21% 0.078 101.4) |
| XYZ | xyz(58.7267, 64.5709, 39.0695) |
| Luminance | 0.6457 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 2.86
Palegoldenrod
#EEE8AA
ΔE00 4.47
Vanilla
#F3E5AB
ΔE00 4.60
Light Tan
#FBEEAC
ΔE00 6.19
Khaki (CSS)
#F0E68C
ΔE00 6.57
Sand (survey)
#E2CA76
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD498 #98A0DC
analogous
#DCB298 #DCD498 #C2DC98
triadic
#DCD498 #98DCD4 #D498DC
tetradic
#DCD498 #98DCB2 #98A0DC #DC98C2
square
#DCD498 #98DCB2 #98A0DC #DC98C2
split-complementary
#DCD498 #98C2DC #B298DC
monochromatic
#BAAC3F #CCC16A #DCD498 #ECE7C6 #F7F5E8
Accessibility & contrast
On white
1.51
#DCD498 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.91
#DCD498 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD498
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD498 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD498 | 1.00 | 1.51 | 13.91 | 13.91 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFD094
Deuteranopia (green-blind)
#E2D49A
Tritanopia (blue-blind)
#E6CCC4
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #dcd498; /* rgb */ color: rgb(220, 212, 152); /* oklch */ color: oklch(86.2% 0.078 101.4);
Tailwind
colors: {
custom: {
50: '#e7e1b6',
500: '#dcd498',
950: '#000000',
},
}SCSS
$custom: #dcd498; $custom-light: #e7e1b6; $custom-dark: #000000;
JSON
{
"hex": "#dcd498",
"rgb": {
"r": 220,
"g": 212,
"b": 152
},
"hsl": {
"h": 52.941,
"s": 49.275,
"l": 72.941
},
"oklch": {
"l": 0.86213,
"c": 0.07838,
"h": 101.4
},
"luminance": 0.6457
}Semantic roles & 50–950 ramp
primary
#DCD498
secondary
#646EB4
accent
#3ABD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481