#D7C357#D7C357
#D7C357 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.130 H 98.9°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C357 |
|---|---|
| RGB | rgb(215, 195, 87) |
| HSL | hsl(51, 62%, 59%) |
| HSV | hsv(51, 60%, 84%) |
| CMYK | cmyk(0%, 9.3%, 59.5%, 15.7%) |
| CIE-LAB | lab(78.56, -5.95, 55.60) |
| CIE-LCH | lch(78.56, 55.92, 96.11°) |
| OKLab | oklab(81.31% -0.0201 0.1282) |
| OKLCH | oklch(81.31% 0.13 98.9) |
| XYZ | xyz(49.2617, 54.1675, 16.8755) |
| Luminance | 0.5416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.36
Mustard Yellow
#D2BD0A
ΔE00 5.54
Maize
#F4D054
ΔE00 5.85
Ugly Yellow
#D0C101
ΔE00 5.92
Sandy
#F1DA7A
ΔE00 6.06
Light Mustard
#F7D560
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C357 #576BD7
analogous
#D78357 #D7C357 #ABD757
triadic
#D7C357 #57D7C3 #C357D7
tetradic
#D7C357 #57D783 #576BD7 #D757AB
square
#D7C357 #57D783 #576BD7 #D757AB
split-complementary
#D7C357 #57ABD7 #8357D7
monochromatic
#918023 #C2AB2E #D7C357 #E3D588 #EFE6BA
Accessibility & contrast
On white
1.77
#D7C357 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.83
#D7C357 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C357
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C357 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C357 | 1.00 | 1.77 | 11.83 | 11.83 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE4C
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#E6B6AB
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d7c357; /* rgb */ color: rgb(215, 195, 87); /* oklch */ color: oklch(81.3% 0.130 98.9);
Tailwind
colors: {
custom: {
50: '#e6d48a',
500: '#d7c357',
950: '#000000',
},
}SCSS
$custom: #d7c357; $custom-light: #e6d48a; $custom-dark: #000000;
JSON
{
"hex": "#d7c357",
"rgb": {
"r": 215,
"g": 195,
"b": 87
},
"hsl": {
"h": 50.625,
"s": 61.538,
"l": 59.216
},
"oklch": {
"l": 0.81314,
"c": 0.12979,
"h": 98.9
},
"luminance": 0.54165
}Semantic roles & 50–950 ramp
primary
#D7C357
secondary
#3C4A96
accent
#5CE543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F