#D3C756#D3C756
#D3C756 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.134 H 103.3°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #D3C756 |
|---|---|
| RGB | rgb(211, 199, 86) |
| HSL | hsl(54, 59%, 58%) |
| HSV | hsv(54, 59%, 83%) |
| CMYK | cmyk(0%, 5.7%, 59.2%, 17.3%) |
| CIE-LAB | lab(79.25, -9.74, 56.73) |
| CIE-LCH | lch(79.25, 57.56, 99.75°) |
| OKLab | oklab(81.78% -0.0308 0.1306) |
| OKLCH | oklch(81.78% 0.134 103.3) |
| XYZ | xyz(48.9688, 55.3694, 16.9102) |
| Luminance | 0.5537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 5.35
Vomit Yellow
#C7C10C
ΔE00 5.42
Ugly Yellow
#D0C101
ΔE00 5.58
Dull Yellow
#EEDC5B
ΔE00 5.66
Sand (survey)
#E2CA76
ΔE00 5.68
Puke Yellow
#C2BE0E
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3C756 #5662D3
analogous
#D38856 #D3C756 #A0D356
triadic
#D3C756 #56D3C7 #C756D3
tetradic
#D3C756 #56D388 #5662D3 #D356A0
square
#D3C756 #56D388 #5662D3 #D356A0
split-complementary
#D3C756 #56A0D3 #8856D3
monochromatic
#8B8124 #BBAE31 #D3C756 #E0D787 #ECE7B7
Accessibility & contrast
On white
1.74
#D3C756 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.07
#D3C756 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3C756
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3C756 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3C756 | 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)
#D7C14A
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#E2BBAF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d3c756; /* rgb */ color: rgb(211, 199, 86); /* oklch */ color: oklch(81.8% 0.134 103.3);
Tailwind
colors: {
custom: {
50: '#e3d78a',
500: '#d3c756',
950: '#000000',
},
}SCSS
$custom: #d3c756; $custom-light: #e3d78a; $custom-dark: #000000;
JSON
{
"hex": "#d3c756",
"rgb": {
"r": 211,
"g": 199,
"b": 86
},
"hsl": {
"h": 54.24,
"s": 58.685,
"l": 58.235
},
"oklch": {
"l": 0.8178,
"c": 0.13417,
"h": 103.3
},
"luminance": 0.55368
}Semantic roles & 50–950 ramp
primary
#D3C756
secondary
#3C4591
accent
#55E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F