#D7C05D#D7C05D
#D7C05D is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.8% C 0.122 H 96.4°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C05D |
|---|---|
| RGB | rgb(215, 192, 93) |
| HSL | hsl(49, 60%, 60%) |
| HSV | hsv(49, 57%, 84%) |
| CMYK | cmyk(0%, 10.7%, 56.7%, 15.7%) |
| CIE-LAB | lab(77.84, -3.96, 52.03) |
| CIE-LCH | lch(77.84, 52.18, 94.36°) |
| OKLab | oklab(80.76% -0.0137 0.1213) |
| OKLCH | oklch(80.76% 0.122 96.4) |
| XYZ | xyz(48.8516, 52.9388, 17.9988) |
| Luminance | 0.5294 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.59
Maize
#F4D054
ΔE00 6.11
Mustard
#DBB42C
ΔE00 6.17
Sandy
#F1DA7A
ΔE00 6.30
Desert
#CCAD60
ΔE00 6.36
Light Mustard
#F7D560
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C05D #5D74D7
analogous
#D7835D #D7C05D #B1D75D
triadic
#D7C05D #5DD7C0 #C05DD7
tetradic
#D7C05D #5DD783 #5D74D7 #D75DB1
square
#D7C05D #5DD783 #5D74D7 #D75DB1
split-complementary
#D7C05D #5DB1D7 #835DD7
monochromatic
#958025 #C6AA31 #D7C05D #E3D38E #EFE6BF
Accessibility & contrast
On white
1.81
#D7C05D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.59
#D7C05D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C05D
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C05D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C05D | 1.00 | 1.81 | 11.59 | 11.59 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC53
Deuteranopia (green-blind)
#D7C461
Tritanopia (blue-blind)
#E6B3AA
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d7c05d; /* rgb */ color: rgb(215, 192, 93); /* oklch */ color: oklch(80.8% 0.122 96.4);
Tailwind
colors: {
custom: {
50: '#e6d28e',
500: '#d7c05d',
950: '#000000',
},
}SCSS
$custom: #d7c05d; $custom-light: #e6d28e; $custom-dark: #000000;
JSON
{
"hex": "#d7c05d",
"rgb": {
"r": 215,
"g": 192,
"b": 93
},
"hsl": {
"h": 48.689,
"s": 60.396,
"l": 60.392
},
"oklch": {
"l": 0.80763,
"c": 0.12204,
"h": 96.4
},
"luminance": 0.52937
}Semantic roles & 50–950 ramp
primary
#D7C05D
secondary
#3E509A
accent
#3EC81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F