#D3C156#D3C156
#D3C156 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.129 H 99.8°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #D3C156 |
|---|---|
| RGB | rgb(211, 193, 86) |
| HSL | hsl(51, 59%, 58%) |
| HSV | hsv(51, 59%, 83%) |
| CMYK | cmyk(0%, 8.5%, 59.2%, 17.3%) |
| CIE-LAB | lab(77.68, -6.67, 54.97) |
| CIE-LCH | lch(77.68, 55.37, 96.92°) |
| OKLab | oklab(80.53% -0.022 0.1268) |
| OKLCH | oklch(80.53% 0.129 99.8) |
| XYZ | xyz(47.6155, 52.6627, 16.4591) |
| Luminance | 0.5266 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.78
Mustard Yellow
#D2BD0A
ΔE00 5.57
Ugly Yellow
#D0C101
ΔE00 5.89
Olive Yellow
#C2B709
ΔE00 6.12
Vomit Yellow
#C7C10C
ΔE00 6.24
Dirty Yellow
#CDC50A
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3C156 #5668D3
analogous
#D38256 #D3C156 #A6D356
triadic
#D3C156 #56D3C1 #C156D3
tetradic
#D3C156 #56D382 #5668D3 #D356A6
square
#D3C156 #56D382 #5668D3 #D356A6
split-complementary
#D3C156 #56A6D3 #8256D3
monochromatic
#8B7C24 #BBA731 #D3C156 #E0D387 #ECE5B7
Accessibility & contrast
On white
1.82
#D3C156 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#D3C156 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3C156
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3C156 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3C156 | 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)
#D2BC4B
Deuteranopia (green-blind)
#D7C35B
Tritanopia (blue-blind)
#E2B4AA
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d3c156; /* rgb */ color: rgb(211, 193, 86); /* oklch */ color: oklch(80.5% 0.129 99.8);
Tailwind
colors: {
custom: {
50: '#e3d389',
500: '#d3c156',
950: '#000000',
},
}SCSS
$custom: #d3c156; $custom-light: #e3d389; $custom-dark: #000000;
JSON
{
"hex": "#d3c156",
"rgb": {
"r": 211,
"g": 193,
"b": 86
},
"hsl": {
"h": 51.36,
"s": 58.685,
"l": 58.235
},
"oklch": {
"l": 0.80527,
"c": 0.12873,
"h": 99.8
},
"luminance": 0.52661
}Semantic roles & 50–950 ramp
primary
#D3C156
secondary
#3C4991
accent
#5CE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F