#D2C53F#D2C53F
#D2C53F is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.150 H 103.7°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C53F |
|---|---|
| RGB | rgb(210, 197, 63) |
| HSL | hsl(55, 62%, 54%) |
| HSV | hsv(55, 70%, 82%) |
| CMYK | cmyk(0%, 6.2%, 70%, 17.6%) |
| CIE-LAB | lab(78.46, -10.52, 65.33) |
| CIE-LCH | lch(78.46, 66.18, 99.15°) |
| OKLab | oklab(81.07% -0.0354 0.1453) |
| OKLCH | oklch(81.07% 0.15 103.7) |
| XYZ | xyz(47.4438, 53.9949, 12.6246) |
| Luminance | 0.5399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 3.13
Ugly Yellow
#D0C101
ΔE00 3.23
Vomit Yellow
#C7C10C
ΔE00 3.34
Mustard Yellow
#D2BD0A
ΔE00 3.81
Puke Yellow
#C2BE0E
ΔE00 3.84
Olive Yellow
#C2B709
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C53F #3F4CD2
analogous
#D27B3F #D2C53F #95D23F
triadic
#D2C53F #3FD2C5 #C53FD2
tetradic
#D2C53F #3FD27B #3F4CD2 #D23F95
square
#D2C53F #3FD27B #3F4CD2 #D23F95
split-complementary
#D2C53F #3F95D2 #7B3FD2
monochromatic
#7A721D #ACA028 #D2C53F #DED471 #E9E3A2
Accessibility & contrast
On white
1.78
#D2C53F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.80
#D2C53F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C53F
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C53F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C53F | 1.00 | 1.78 | 11.80 | 11.80 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BE2A
Deuteranopia (green-blind)
#DBC548
Tritanopia (blue-blind)
#E2B8AA
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d2c53f; /* rgb */ color: rgb(210, 197, 63); /* oklch */ color: oklch(81.1% 0.150 103.7);
Tailwind
colors: {
custom: {
50: '#e3d67c',
500: '#d2c53f',
950: '#000000',
},
}SCSS
$custom: #d2c53f; $custom-light: #e3d67c; $custom-dark: #000000;
JSON
{
"hex": "#d2c53f",
"rgb": {
"r": 210,
"g": 197,
"b": 63
},
"hsl": {
"h": 54.694,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.8107,
"c": 0.14959,
"h": 103.7
},
"luminance": 0.53993
}Semantic roles & 50–950 ramp
primary
#D2C53F
secondary
#333A82
accent
#51E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D