#D7C059#D7C059
#D7C059 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.126 H 96.9°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C059 |
|---|---|
| RGB | rgb(215, 192, 89) |
| HSL | hsl(49, 61%, 60%) |
| HSV | hsv(49, 59%, 84%) |
| CMYK | cmyk(0%, 10.7%, 58.6%, 15.7%) |
| CIE-LAB | lab(77.80, -4.26, 53.84) |
| CIE-LCH | lch(77.80, 54.01, 94.53°) |
| OKLab | oklab(80.72% -0.015 0.1247) |
| OKLCH | oklch(80.72% 0.126 96.9) |
| XYZ | xyz(48.6791, 52.8698, 17.0900) |
| Luminance | 0.5287 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.99
Mustard
#DBB42C
ΔE00 5.88
Maize
#F4D054
ΔE00 5.92
Mustard Yellow
#D2BD0A
ΔE00 6.01
Dark Yellow
#D5B60A
ΔE00 6.16
Light Mustard
#F7D560
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C059 #5970D7
analogous
#D78159 #D7C059 #AFD759
triadic
#D7C059 #59D7C0 #C059D7
tetradic
#D7C059 #59D781 #5970D7 #D759AF
square
#D7C059 #59D781 #5970D7 #D759AF
split-complementary
#D7C059 #59AFD7 #8159D7
monochromatic
#927E23 #C4A92F #D7C059 #E3D38A #EFE5BC
Accessibility & contrast
On white
1.81
#D7C059 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#D7C059 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C059
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C059 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C059 | 1.00 | 1.81 | 11.57 | 11.57 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC4E
Deuteranopia (green-blind)
#D7C45E
Tritanopia (blue-blind)
#E6B3A9
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d7c059; /* rgb */ color: rgb(215, 192, 89); /* oklch */ color: oklch(80.7% 0.126 96.9);
Tailwind
colors: {
custom: {
50: '#e6d28b',
500: '#d7c059',
950: '#000000',
},
}SCSS
$custom: #d7c059; $custom-light: #e6d28b; $custom-dark: #000000;
JSON
{
"hex": "#d7c059",
"rgb": {
"r": 215,
"g": 192,
"b": 89
},
"hsl": {
"h": 49.048,
"s": 61.165,
"l": 59.608
},
"oklch": {
"l": 0.80718,
"c": 0.1256,
"h": 96.9
},
"luminance": 0.52868
}Semantic roles & 50–950 ramp
primary
#D7C059
secondary
#3D4D98
accent
#61E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F