#D7C563#D7C563
#D7C563 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.121 H 99.1°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C563 |
|---|---|
| RGB | rgb(215, 197, 99) |
| HSL | hsl(51, 59%, 62%) |
| HSV | hsv(51, 54%, 84%) |
| CMYK | cmyk(0%, 8.4%, 54%, 15.7%) |
| CIE-LAB | lab(79.20, -6.08, 50.79) |
| CIE-LCH | lch(79.20, 51.15, 96.82°) |
| OKLab | oklab(81.86% -0.0191 0.1192) |
| OKLCH | oklch(81.86% 0.121 99.1) |
| XYZ | xyz(50.2444, 55.2824, 19.8259) |
| Luminance | 0.5528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.34
Sandy
#F1DA7A
ΔE00 5.43
Darkkhaki
#BDB76B
ΔE00 6.30
Maize
#F4D054
ΔE00 6.45
Dull Yellow
#EEDC5B
ΔE00 6.45
Light Mustard
#F7D560
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C563 #6375D7
analogous
#D78B63 #D7C563 #AFD763
triadic
#D7C563 #63D7C5 #C563D7
tetradic
#D7C563 #63D78B #6375D7 #D763AF
square
#D7C563 #63D78B #6375D7 #D763AF
split-complementary
#D7C563 #63AFD7 #8B63D7
monochromatic
#988727 #C9B234 #D7C563 #E3D794 #F0E9C4
Accessibility & contrast
On white
1.74
#D7C563 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.06
#D7C563 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C563
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C563 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C563 | 1.00 | 1.74 | 12.06 | 12.06 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C05A
Deuteranopia (green-blind)
#DAC767
Tritanopia (blue-blind)
#E6B9AF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d7c563; /* rgb */ color: rgb(215, 197, 99); /* oklch */ color: oklch(81.9% 0.121 99.1);
Tailwind
colors: {
custom: {
50: '#e6d692',
500: '#d7c563',
950: '#000000',
},
}SCSS
$custom: #d7c563; $custom-light: #e6d692; $custom-dark: #000000;
JSON
{
"hex": "#d7c563",
"rgb": {
"r": 215,
"g": 197,
"b": 99
},
"hsl": {
"h": 50.69,
"s": 59.184,
"l": 61.569
},
"oklch": {
"l": 0.81865,
"c": 0.12075,
"h": 99.1
},
"luminance": 0.5528
}Semantic roles & 50–950 ramp
primary
#D7C563
secondary
#414F9D
accent
#39C71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F