#D4C35C#D4C35C
#D4C35C is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.125 H 100.1°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #D4C35C |
|---|---|
| RGB | rgb(212, 195, 92) |
| HSL | hsl(52, 58%, 60%) |
| HSV | hsv(52, 57%, 83%) |
| CMYK | cmyk(0%, 8%, 56.6%, 16.9%) |
| CIE-LAB | lab(78.35, -6.84, 53.01) |
| CIE-LCH | lch(78.35, 53.45, 97.35°) |
| OKLab | oklab(81.1% -0.0219 0.1233) |
| OKLCH | oklch(81.1% 0.125 100.1) |
| XYZ | xyz(48.6000, 53.8019, 17.9479) |
| Luminance | 0.5380 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.27
Sandy
#F1DA7A
ΔE00 6.17
Darkkhaki
#BDB76B
ΔE00 6.24
Mustard Yellow
#D2BD0A
ΔE00 6.25
Ugly Yellow
#D0C101
ΔE00 6.46
Dull Yellow
#EEDC5B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4C35C #5C6DD4
analogous
#D4875C #D4C35C #A9D45C
triadic
#D4C35C #5CD4C3 #C35CD4
tetradic
#D4C35C #5CD487 #5C6DD4 #D45CA9
square
#D4C35C #5CD487 #5C6DD4 #D45CA9
split-complementary
#D4C35C #5CA9D4 #875CD4
monochromatic
#908126 #C0AC33 #D4C35C #E1D58C #EEE7BD
Accessibility & contrast
On white
1.79
#D4C35C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#D4C35C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4C35C
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4C35C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4C35C | 1.00 | 1.79 | 11.76 | 11.76 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE52
Deuteranopia (green-blind)
#D8C561
Tritanopia (blue-blind)
#E3B7AC
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d4c35c; /* rgb */ color: rgb(212, 195, 92); /* oklch */ color: oklch(81.1% 0.125 100.1);
Tailwind
colors: {
custom: {
50: '#e4d48d',
500: '#d4c35c',
950: '#000000',
},
}SCSS
$custom: #d4c35c; $custom-light: #e4d48d; $custom-dark: #000000;
JSON
{
"hex": "#d4c35c",
"rgb": {
"r": 212,
"g": 195,
"b": 92
},
"hsl": {
"h": 51.5,
"s": 58.252,
"l": 59.608
},
"oklch": {
"l": 0.81099,
"c": 0.12525,
"h": 100.1
},
"luminance": 0.538
}Semantic roles & 50–950 ramp
primary
#D4C35C
secondary
#3F4B95
accent
#5CE146
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F