#D2C15D#D2C15D
#D2C15D is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.122 H 99.8°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C15D |
|---|---|
| RGB | rgb(210, 193, 93) |
| HSL | hsl(51, 57%, 59%) |
| HSV | hsv(51, 56%, 82%) |
| CMYK | cmyk(0%, 8.1%, 55.7%, 17.6%) |
| CIE-LAB | lab(77.66, -6.56, 51.70) |
| CIE-LCH | lch(77.66, 52.12, 97.24°) |
| OKLab | oklab(80.52% -0.0208 0.1207) |
| OKLCH | oklch(80.52% 0.122 99.8) |
| XYZ | xyz(47.6258, 52.6338, 18.0044) |
| Luminance | 0.5263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.28
Darkkhaki
#BDB76B
ΔE00 5.72
Mustard Yellow
#D2BD0A
ΔE00 6.51
Sandy
#F1DA7A
ΔE00 6.57
Ugly Yellow
#D0C101
ΔE00 6.79
Olive Yellow
#C2B709
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C15D #5D6ED2
analogous
#D2875D #D2C15D #A9D25D
triadic
#D2C15D #5DD2C1 #C15DD2
tetradic
#D2C15D #5DD287 #5D6ED2 #D25DA9
square
#D2C15D #5DD287 #5D6ED2 #D25DA9
split-complementary
#D2C15D #5DA9D2 #875DD2
monochromatic
#8D7F27 #BDA935 #D2C15D #DFD38D #EDE6BD
Accessibility & contrast
On white
1.82
#D2C15D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#D2C15D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C15D
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C15D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C15D | 1.00 | 1.82 | 11.53 | 11.53 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC53
Deuteranopia (green-blind)
#D6C362
Tritanopia (blue-blind)
#E0B5AB
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d2c15d; /* rgb */ color: rgb(210, 193, 93); /* oklch */ color: oklch(80.5% 0.122 99.8);
Tailwind
colors: {
custom: {
50: '#e2d38e',
500: '#d2c15d',
950: '#000000',
},
}SCSS
$custom: #d2c15d; $custom-light: #e2d38e; $custom-dark: #000000;
JSON
{
"hex": "#d2c15d",
"rgb": {
"r": 210,
"g": 193,
"b": 93
},
"hsl": {
"h": 51.282,
"s": 56.522,
"l": 59.412
},
"oklch": {
"l": 0.80515,
"c": 0.12247,
"h": 99.8
},
"luminance": 0.52632
}Semantic roles & 50–950 ramp
primary
#D2C15D
secondary
#404C93
accent
#5EE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F