#D7C45A#D7C45A
#D7C45A is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.6% C 0.128 H 99.3°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C45A |
|---|---|
| RGB | rgb(215, 196, 90) |
| HSL | hsl(51, 61%, 60%) |
| HSV | hsv(51, 58%, 84%) |
| CMYK | cmyk(0%, 8.8%, 58.1%, 15.7%) |
| CIE-LAB | lab(78.85, -6.25, 54.57) |
| CIE-LCH | lch(78.85, 54.92, 96.54°) |
| OKLab | oklab(81.55% -0.0206 0.1264) |
| OKLCH | oklch(81.55% 0.128 99.3) |
| XYZ | xyz(49.6116, 54.6672, 17.6094) |
| Luminance | 0.5466 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.15
Sandy
#F1DA7A
ΔE00 5.83
Mustard Yellow
#D2BD0A
ΔE00 5.89
Maize
#F4D054
ΔE00 5.99
Dull Yellow
#EEDC5B
ΔE00 6.14
Ugly Yellow
#D0C101
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C45A #5A6DD7
analogous
#D7865A #D7C45A #ACD75A
triadic
#D7C45A #5AD7C4 #C45AD7
tetradic
#D7C45A #5AD786 #5A6DD7 #D75AAC
square
#D7C45A #5AD786 #5A6DD7 #D75AAC
split-complementary
#D7C45A #5AACD7 #865AD7
monochromatic
#938224 #C4AE30 #D7C45A #E3D68B #EFE7BD
Accessibility & contrast
On white
1.76
#D7C45A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#D7C45A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C45A
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C45A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C45A | 1.00 | 1.76 | 11.93 | 11.93 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BF4F
Deuteranopia (green-blind)
#DAC65F
Tritanopia (blue-blind)
#E6B7AD
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d7c45a; /* rgb */ color: rgb(215, 196, 90); /* oklch */ color: oklch(81.6% 0.128 99.3);
Tailwind
colors: {
custom: {
50: '#e6d58c',
500: '#d7c45a',
950: '#000000',
},
}SCSS
$custom: #d7c45a; $custom-light: #e6d58c; $custom-dark: #000000;
JSON
{
"hex": "#d7c45a",
"rgb": {
"r": 215,
"g": 196,
"b": 90
},
"hsl": {
"h": 50.88,
"s": 60.976,
"l": 59.804
},
"oklch": {
"l": 0.81554,
"c": 0.12805,
"h": 99.3
},
"luminance": 0.54665
}Semantic roles & 50–950 ramp
primary
#D7C45A
secondary
#3D4B98
accent
#5CE444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F