#D2C15C#D2C15C
#D2C15C is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.123 H 99.9°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C15C |
|---|---|
| RGB | rgb(210, 193, 92) |
| HSL | hsl(51, 57%, 59%) |
| HSV | hsv(51, 56%, 82%) |
| CMYK | cmyk(0%, 8.1%, 56.2%, 17.6%) |
| CIE-LAB | lab(77.65, -6.64, 52.16) |
| CIE-LCH | lch(77.65, 52.58, 97.26°) |
| OKLab | oklab(80.5% -0.0212 0.1216) |
| OKLCH | oklch(80.5% 0.123 99.9) |
| XYZ | xyz(47.5818, 52.6162, 17.7727) |
| Luminance | 0.5261 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.37
Darkkhaki
#BDB76B
ΔE00 5.81
Mustard Yellow
#D2BD0A
ΔE00 6.38
Sandy
#F1DA7A
ΔE00 6.59
Ugly Yellow
#D0C101
ΔE00 6.66
Olive Yellow
#C2B709
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C15C #5C6DD2
analogous
#D2865C #D2C15C #A8D25C
triadic
#D2C15C #5CD2C1 #C15CD2
tetradic
#D2C15C #5CD286 #5C6DD2 #D25CA8
square
#D2C15C #5CD286 #5C6DD2 #D25CA8
split-complementary
#D2C15C #5CA8D2 #865CD2
monochromatic
#8D7E27 #BDA934 #D2C15C #DFD38C #ECE5BC
Accessibility & contrast
On white
1.82
#D2C15C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#D2C15C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C15C
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C15C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C15C | 1.00 | 1.82 | 11.52 | 11.52 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC52
Deuteranopia (green-blind)
#D6C361
Tritanopia (blue-blind)
#E0B5AA
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d2c15c; /* rgb */ color: rgb(210, 193, 92); /* oklch */ color: oklch(80.5% 0.123 99.9);
Tailwind
colors: {
custom: {
50: '#e2d38d',
500: '#d2c15c',
950: '#000000',
},
}SCSS
$custom: #d2c15c; $custom-light: #e2d38d; $custom-dark: #000000;
JSON
{
"hex": "#d2c15c",
"rgb": {
"r": 210,
"g": 193,
"b": 92
},
"hsl": {
"h": 51.356,
"s": 56.731,
"l": 59.216
},
"oklch": {
"l": 0.80504,
"c": 0.12338,
"h": 99.9
},
"luminance": 0.52614
}Semantic roles & 50–950 ramp
primary
#D2C15C
secondary
#3F4B93
accent
#5EE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F