#D4C756#D4C756
#D4C756 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.134 H 102.8°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #D4C756 |
|---|---|
| RGB | rgb(212, 199, 86) |
| HSL | hsl(54, 59%, 58%) |
| HSV | hsv(54, 59%, 83%) |
| CMYK | cmyk(0%, 6.1%, 59.4%, 16.9%) |
| CIE-LAB | lab(79.34, -9.33, 56.84) |
| CIE-LCH | lch(79.34, 57.60, 99.32°) |
| OKLab | oklab(81.87% -0.0297 0.1308) |
| OKLCH | oklch(81.87% 0.134 102.8) |
| XYZ | xyz(49.2563, 55.5176, 16.9237) |
| Luminance | 0.5552 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 5.38
Vomit Yellow
#C7C10C
ΔE00 5.48
Sand (survey)
#E2CA76
ΔE00 5.51
Ugly Yellow
#D0C101
ΔE00 5.53
Dull Yellow
#EEDC5B
ΔE00 5.55
Puke Yellow
#C2BE0E
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4C756 #5663D4
analogous
#D48856 #D4C756 #A2D456
triadic
#D4C756 #56D4C7 #C756D4
tetradic
#D4C756 #56D488 #5663D4 #D456A2
square
#D4C756 #56D488 #5663D4 #D456A2
split-complementary
#D4C756 #56A2D4 #8856D4
monochromatic
#8C8124 #BDAE30 #D4C756 #E0D787 #EDE7B8
Accessibility & contrast
On white
1.74
#D4C756 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.10
#D4C756 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4C756
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4C756 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4C756 | 1.00 | 1.74 | 12.10 | 12.10 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C14A
Deuteranopia (green-blind)
#DCC75C
Tritanopia (blue-blind)
#E3BAAF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d4c756; /* rgb */ color: rgb(212, 199, 86); /* oklch */ color: oklch(81.9% 0.134 102.8);
Tailwind
colors: {
custom: {
50: '#e4d78a',
500: '#d4c756',
950: '#000000',
},
}SCSS
$custom: #d4c756; $custom-light: #e4d78a; $custom-dark: #000000;
JSON
{
"hex": "#d4c756",
"rgb": {
"r": 212,
"g": 199,
"b": 86
},
"hsl": {
"h": 53.81,
"s": 59.434,
"l": 58.431
},
"oklch": {
"l": 0.81868,
"c": 0.13414,
"h": 102.8
},
"luminance": 0.55516
}Semantic roles & 50–950 ramp
primary
#D4C756
secondary
#3C4592
accent
#55E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F