#D2C352#D2C352
#D2C352 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.134 H 101.8°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C352 |
|---|---|
| RGB | rgb(210, 195, 82) |
| HSL | hsl(53, 59%, 57%) |
| HSV | hsv(53, 61%, 82%) |
| CMYK | cmyk(0%, 7.1%, 61%, 17.6%) |
| CIE-LAB | lab(78.08, -8.39, 57.17) |
| CIE-LCH | lch(78.08, 57.78, 98.35°) |
| OKLab | oklab(80.81% -0.0273 0.131) |
| OKLCH | oklch(80.81% 0.134 101.8) |
| XYZ | xyz(47.6182, 53.3429, 15.7689) |
| Luminance | 0.5334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Yellow
#D0C101
ΔE00 5.21
Mustard Yellow
#D2BD0A
ΔE00 5.22
Vomit Yellow
#C7C10C
ΔE00 5.33
Dirty Yellow
#CDC50A
ΔE00 5.36
Sand (survey)
#E2CA76
ΔE00 5.54
Puke Yellow
#C2BE0E
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C352 #5261D2
analogous
#D28352 #D2C352 #A1D252
triadic
#D2C352 #52D2C3 #C352D2
tetradic
#D2C352 #52D283 #5261D2 #D252A1
square
#D2C352 #52D283 #5261D2 #D252A1
split-complementary
#D2C352 #52A1D2 #8352D2
monochromatic
#877B23 #B7A730 #D2C352 #DFD483 #EBE5B3
Accessibility & contrast
On white
1.80
#D2C352 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.67
#D2C352 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C352
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C352 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C352 | 1.00 | 1.80 | 11.67 | 11.67 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BD45
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#E1B6AB
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d2c352; /* rgb */ color: rgb(210, 195, 82); /* oklch */ color: oklch(80.8% 0.134 101.8);
Tailwind
colors: {
custom: {
50: '#e3d487',
500: '#d2c352',
950: '#000000',
},
}SCSS
$custom: #d2c352; $custom-light: #e3d487; $custom-dark: #000000;
JSON
{
"hex": "#d2c352",
"rgb": {
"r": 210,
"g": 195,
"b": 82
},
"hsl": {
"h": 52.969,
"s": 58.716,
"l": 57.255
},
"oklch": {
"l": 0.80813,
"c": 0.13385,
"h": 101.8
},
"luminance": 0.53341
}Semantic roles & 50–950 ramp
primary
#D2C352
secondary
#3B458D
accent
#58E246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F