#D2C75D#D2C75D
#D2C75D is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.128 H 103.4°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C75D |
|---|---|
| RGB | rgb(210, 199, 93) |
| HSL | hsl(54, 57%, 59%) |
| HSV | hsv(54, 56%, 82%) |
| CMYK | cmyk(0%, 5.2%, 55.7%, 17.6%) |
| CIE-LAB | lab(79.24, -9.64, 53.52) |
| CIE-LCH | lch(79.24, 54.38, 100.21°) |
| OKLab | oklab(81.77% -0.0297 0.1246) |
| OKLCH | oklch(81.77% 0.128 103.4) |
| XYZ | xyz(48.9791, 55.3405, 18.4556) |
| Luminance | 0.5534 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.27
Dull Yellow
#EEDC5B
ΔE00 6.08
Vomit Yellow
#C7C10C
ΔE00 6.20
Dirty Yellow
#CDC50A
ΔE00 6.21
Sandy
#F1DA7A
ΔE00 6.28
Darkkhaki
#BDB76B
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C75D #5D68D2
analogous
#D28D5D #D2C75D #A3D25D
triadic
#D2C75D #5DD2C7 #C75DD2
tetradic
#D2C75D #5DD28D #5D68D2 #D25DA3
square
#D2C75D #5DD28D #5D68D2 #D25DA3
split-complementary
#D2C75D #5DA3D2 #8D5DD2
monochromatic
#8D8427 #BDB035 #D2C75D #DFD88D #EDE8BD
Accessibility & contrast
On white
1.74
#D2C75D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.07
#D2C75D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C75D
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C75D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C75D | 1.00 | 1.74 | 12.07 | 12.07 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C152
Deuteranopia (green-blind)
#DAC762
Tritanopia (blue-blind)
#E0BBAF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d2c75d; /* rgb */ color: rgb(210, 199, 93); /* oklch */ color: oklch(81.8% 0.128 103.4);
Tailwind
colors: {
custom: {
50: '#e2d78e',
500: '#d2c75d',
950: '#000000',
},
}SCSS
$custom: #d2c75d; $custom-light: #e2d78e; $custom-dark: #000000;
JSON
{
"hex": "#d2c75d",
"rgb": {
"r": 210,
"g": 199,
"b": 93
},
"hsl": {
"h": 54.359,
"s": 56.522,
"l": 59.412
},
"oklch": {
"l": 0.81768,
"c": 0.12806,
"h": 103.4
},
"luminance": 0.55339
}Semantic roles & 50–950 ramp
primary
#D2C75D
secondary
#404893
accent
#56E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F