#D2C153#D2C153
#D2C153 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.131 H 100.6°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C153 |
|---|---|
| RGB | rgb(210, 193, 83) |
| HSL | hsl(52, 59%, 57%) |
| HSV | hsv(52, 60%, 82%) |
| CMYK | cmyk(0%, 8.1%, 60.5%, 17.6%) |
| CIE-LAB | lab(77.56, -7.30, 56.16) |
| CIE-LCH | lch(77.56, 56.63, 97.40°) |
| OKLab | oklab(80.41% -0.0241 0.129) |
| OKLCH | oklch(80.41% 0.131 100.6) |
| XYZ | xyz(47.2115, 52.4680, 15.8224) |
| Luminance | 0.5247 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.21
Mustard Yellow
#D2BD0A
ΔE00 5.27
Ugly Yellow
#D0C101
ΔE00 5.50
Olive Yellow
#C2B709
ΔE00 5.72
Vomit Yellow
#C7C10C
ΔE00 5.78
Dirty Yellow
#CDC50A
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C153 #5364D2
analogous
#D28253 #D2C153 #A3D253
triadic
#D2C153 #53D2C1 #C153D2
tetradic
#D2C153 #53D282 #5364D2 #D253A3
square
#D2C153 #53D282 #5364D2 #D253A3
split-complementary
#D2C153 #53A3D2 #8253D2
monochromatic
#877A23 #B8A630 #D2C153 #DFD284 #EBE4B4
Accessibility & contrast
On white
1.83
#D2C153 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.49
#D2C153 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C153
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C153 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C153 | 1.00 | 1.83 | 11.49 | 11.49 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BC47
Deuteranopia (green-blind)
#D6C359
Tritanopia (blue-blind)
#E1B4A9
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d2c153; /* rgb */ color: rgb(210, 193, 83); /* oklch */ color: oklch(80.4% 0.131 100.6);
Tailwind
colors: {
custom: {
50: '#e3d388',
500: '#d2c153',
950: '#000000',
},
}SCSS
$custom: #d2c153; $custom-light: #e3d388; $custom-dark: #000000;
JSON
{
"hex": "#d2c153",
"rgb": {
"r": 210,
"g": 193,
"b": 83
},
"hsl": {
"h": 51.969,
"s": 58.525,
"l": 57.451
},
"oklch": {
"l": 0.80406,
"c": 0.13125,
"h": 100.6
},
"luminance": 0.52466
}Semantic roles & 50–950 ramp
primary
#D2C153
secondary
#3B468E
accent
#5BE246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F