#D7C35F#D7C35F
#D7C35F is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.123 H 98.2°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C35F |
|---|---|
| RGB | rgb(215, 195, 95) |
| HSL | hsl(50, 60%, 61%) |
| HSV | hsv(50, 56%, 84%) |
| CMYK | cmyk(0%, 9.3%, 55.8%, 15.7%) |
| CIE-LAB | lab(78.64, -5.36, 52.01) |
| CIE-LCH | lch(78.64, 52.29, 95.89°) |
| OKLab | oklab(81.4% -0.0175 0.1215) |
| OKLCH | oklch(81.4% 0.123 98.2) |
| XYZ | xyz(49.6068, 54.3056, 18.6933) |
| Luminance | 0.5430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.50
Sandy
#F1DA7A
ΔE00 5.77
Maize
#F4D054
ΔE00 6.17
Light Mustard
#F7D560
ΔE00 6.33
Darkkhaki
#BDB76B
ΔE00 6.53
Mustard Yellow
#D2BD0A
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C35F #5F73D7
analogous
#D7875F #D7C35F #AFD75F
triadic
#D7C35F #5FD7C3 #C35FD7
tetradic
#D7C35F #5FD787 #5F73D7 #D75FAF
square
#D7C35F #5FD787 #5F73D7 #D75FAF
split-complementary
#D7C35F #5FAFD7 #875FD7
monochromatic
#968326 #C7AE32 #D7C35F #E3D590 #EFE8C1
Accessibility & contrast
On white
1.77
#D7C35F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#D7C35F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C35F
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C35F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C35F | 1.00 | 1.77 | 11.86 | 11.86 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BF55
Deuteranopia (green-blind)
#D9C664
Tritanopia (blue-blind)
#E6B7AD
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d7c35f; /* rgb */ color: rgb(215, 195, 95); /* oklch */ color: oklch(81.4% 0.123 98.2);
Tailwind
colors: {
custom: {
50: '#e6d48f',
500: '#d7c35f',
950: '#000000',
},
}SCSS
$custom: #d7c35f; $custom-light: #e6d48f; $custom-dark: #000000;
JSON
{
"hex": "#d7c35f",
"rgb": {
"r": 215,
"g": 195,
"b": 95
},
"hsl": {
"h": 50,
"s": 60,
"l": 60.784
},
"oklch": {
"l": 0.81404,
"c": 0.12272,
"h": 98.2
},
"luminance": 0.54304
}Semantic roles & 50–950 ramp
primary
#D7C35F
secondary
#3F4F9B
accent
#3AC81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F