#D2C156#D2C156
#D2C156 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.129 H 100.4°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C156 |
|---|---|
| RGB | rgb(210, 193, 86) |
| HSL | hsl(52, 58%, 58%) |
| HSV | hsv(52, 59%, 82%) |
| CMYK | cmyk(0%, 8.1%, 59%, 17.6%) |
| CIE-LAB | lab(77.59, -7.09, 54.85) |
| CIE-LCH | lch(77.59, 55.30, 97.36°) |
| OKLab | oklab(80.44% -0.0231 0.1266) |
| OKLCH | oklch(80.44% 0.129 100.4) |
| XYZ | xyz(47.3298, 52.5154, 16.4457) |
| Luminance | 0.5251 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.93
Mustard Yellow
#D2BD0A
ΔE00 5.62
Ugly Yellow
#D0C101
ΔE00 5.87
Olive Yellow
#C2B709
ΔE00 6.03
Vomit Yellow
#C7C10C
ΔE00 6.12
Dirty Yellow
#CDC50A
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C156 #5667D2
analogous
#D28356 #D2C156 #A5D256
triadic
#D2C156 #56D2C1 #C156D2
tetradic
#D2C156 #56D283 #5667D2 #D256A5
square
#D2C156 #56D283 #5667D2 #D256A5
split-complementary
#D2C156 #56A5D2 #8356D2
monochromatic
#897B25 #B9A731 #D2C156 #DFD386 #ECE4B7
Accessibility & contrast
On white
1.83
#D2C156 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.50
#D2C156 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C156
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C156 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C156 | 1.00 | 1.83 | 11.50 | 11.50 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC4B
Deuteranopia (green-blind)
#D6C35B
Tritanopia (blue-blind)
#E1B5AA
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d2c156; /* rgb */ color: rgb(210, 193, 86); /* oklch */ color: oklch(80.4% 0.129 100.4);
Tailwind
colors: {
custom: {
50: '#e3d389',
500: '#d2c156',
950: '#000000',
},
}SCSS
$custom: #d2c156; $custom-light: #e3d389; $custom-dark: #000000;
JSON
{
"hex": "#d2c156",
"rgb": {
"r": 210,
"g": 193,
"b": 86
},
"hsl": {
"h": 51.774,
"s": 57.944,
"l": 58.039
},
"oklch": {
"l": 0.80437,
"c": 0.1287,
"h": 100.4
},
"luminance": 0.52513
}Semantic roles & 50–950 ramp
primary
#D2C156
secondary
#3D4890
accent
#5CE147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F