#D3C562#D3C562
#D3C562 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.122 H 101.4°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #D3C562 |
|---|---|
| RGB | rgb(211, 197, 98) |
| HSL | hsl(53, 56%, 61%) |
| HSV | hsv(53, 54%, 83%) |
| CMYK | cmyk(0%, 6.6%, 53.6%, 17.3%) |
| CIE-LAB | lab(78.85, -7.81, 50.76) |
| CIE-LCH | lch(78.85, 51.35, 98.75°) |
| OKLab | oklab(81.5% -0.0239 0.1191) |
| OKLCH | oklch(81.5% 0.122 101.4) |
| XYZ | xyz(49.0364, 54.6650, 19.5213) |
| Luminance | 0.5466 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.23
Darkkhaki
#BDB76B
ΔE00 5.73
Sandy
#F1DA7A
ΔE00 6.00
Dull Yellow
#EEDC5B
ΔE00 6.61
Greenish Beige
#C9D179
ΔE00 6.72
Vomit Yellow
#C7C10C
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3C562 #6270D3
analogous
#D38C62 #D3C562 #A9D362
triadic
#D3C562 #62D3C5 #C562D3
tetradic
#D3C562 #62D38C #6270D3 #D362A9
square
#D3C562 #62D38C #6270D3 #D362A9
split-complementary
#D3C562 #62A9D3 #8C62D3
monochromatic
#928529 #C2B036 #D3C562 #E0D792 #EEE8C2
Accessibility & contrast
On white
1.76
#D3C562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#D3C562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3C562
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3C562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3C562 | 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)
#D5C059
Deuteranopia (green-blind)
#D9C667
Tritanopia (blue-blind)
#E1B9AF
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d3c562; /* rgb */ color: rgb(211, 197, 98); /* oklch */ color: oklch(81.5% 0.122 101.4);
Tailwind
colors: {
custom: {
50: '#e3d691',
500: '#d3c562',
950: '#000000',
},
}SCSS
$custom: #d3c562; $custom-light: #e3d691; $custom-dark: #000000;
JSON
{
"hex": "#d3c562",
"rgb": {
"r": 211,
"g": 197,
"b": 98
},
"hsl": {
"h": 52.566,
"s": 56.219,
"l": 60.588
},
"oklch": {
"l": 0.81497,
"c": 0.12151,
"h": 101.4
},
"luminance": 0.54663
}Semantic roles & 50–950 ramp
primary
#D3C562
secondary
#424C97
accent
#36C422
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F