#D9C563#D9C563
#D9C563 is a very light, vivid yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.121 H 98.0°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C563 |
|---|---|
| RGB | rgb(217, 197, 99) |
| HSL | hsl(50, 61%, 62%) |
| HSV | hsv(50, 54%, 85%) |
| CMYK | cmyk(0%, 9.2%, 54.4%, 14.9%) |
| CIE-LAB | lab(79.38, -5.25, 51.03) |
| CIE-LCH | lch(79.38, 51.30, 95.87°) |
| OKLab | oklab(82.05% -0.0168 0.1197) |
| OKLCH | oklch(82.05% 0.121 98) |
| XYZ | xyz(50.8355, 55.5871, 19.8536) |
| Luminance | 0.5558 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.00
Sandy
#F1DA7A
ΔE00 5.23
Maize
#F4D054
ΔE00 6.00
Light Mustard
#F7D560
ΔE00 6.04
Dull Yellow
#EEDC5B
ΔE00 6.42
Darkkhaki
#BDB76B
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C563 #6377D9
analogous
#D98A63 #D9C563 #B2D963
triadic
#D9C563 #63D9C5 #C563D9
tetradic
#D9C563 #63D98A #6377D9 #D963B2
square
#D9C563 #63D98A #6377D9 #D963B2
split-complementary
#D9C563 #63B2D9 #8A63D9
monochromatic
#9C8826 #CDB332 #D9C563 #E5D794 #F1EAC5
Accessibility & contrast
On white
1.73
#D9C563 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.12
#D9C563 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C563
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C563 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C563 | 1.00 | 1.73 | 12.12 | 12.12 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C15A
Deuteranopia (green-blind)
#DBC867
Tritanopia (blue-blind)
#E8B9AF
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #d9c563; /* rgb */ color: rgb(217, 197, 99); /* oklch */ color: oklch(82.0% 0.121 98.0);
Tailwind
colors: {
custom: {
50: '#e7d692',
500: '#d9c563',
950: '#000000',
},
}SCSS
$custom: #d9c563; $custom-light: #e7d692; $custom-dark: #000000;
JSON
{
"hex": "#d9c563",
"rgb": {
"r": 217,
"g": 197,
"b": 99
},
"hsl": {
"h": 49.831,
"s": 60.825,
"l": 61.961
},
"oklch": {
"l": 0.82045,
"c": 0.1209,
"h": 98
},
"luminance": 0.55585
}Semantic roles & 50–950 ramp
primary
#D9C563
secondary
#4051A0
accent
#3AC91D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F