#D6C562#D6C562
#D6C562 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.122 H 99.7°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #D6C562 |
|---|---|
| RGB | rgb(214, 197, 98) |
| HSL | hsl(51, 59%, 61%) |
| HSV | hsv(51, 54%, 84%) |
| CMYK | cmyk(0%, 7.9%, 54.2%, 16.1%) |
| CIE-LAB | lab(79.11, -6.57, 51.12) |
| CIE-LCH | lch(79.11, 51.54, 97.32°) |
| OKLab | oklab(81.76% -0.0205 0.1199) |
| OKLCH | oklch(81.76% 0.122 99.7) |
| XYZ | xyz(49.9041, 55.1124, 19.5620) |
| Luminance | 0.5511 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.62
Sandy
#F1DA7A
ΔE00 5.57
Darkkhaki
#BDB76B
ΔE00 6.20
Dull Yellow
#EEDC5B
ΔE00 6.42
Maize
#F4D054
ΔE00 6.63
Light Mustard
#F7D560
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D6C562 #6273D6
analogous
#D68B62 #D6C562 #ADD662
triadic
#D6C562 #62D6C5 #C562D6
tetradic
#D6C562 #62D68B #6273D6 #D662AD
square
#D6C562 #62D68B #6273D6 #D662AD
split-complementary
#D6C562 #62ADD6 #8B62D6
monochromatic
#968627 #C7B134 #D6C562 #E3D793 #EFE9C3
Accessibility & contrast
On white
1.75
#D6C562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.02
#D6C562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D6C562
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D6C562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D6C562 | 1.00 | 1.75 | 12.02 | 12.02 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C059
Deuteranopia (green-blind)
#DAC767
Tritanopia (blue-blind)
#E4B9AF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d6c562; /* rgb */ color: rgb(214, 197, 98); /* oklch */ color: oklch(81.8% 0.122 99.7);
Tailwind
colors: {
custom: {
50: '#e5d691',
500: '#d6c562',
950: '#000000',
},
}SCSS
$custom: #d6c562; $custom-light: #e5d691; $custom-dark: #000000;
JSON
{
"hex": "#d6c562",
"rgb": {
"r": 214,
"g": 197,
"b": 98
},
"hsl": {
"h": 51.207,
"s": 58.586,
"l": 61.176
},
"oklch": {
"l": 0.81763,
"c": 0.12162,
"h": 99.7
},
"luminance": 0.5511
}Semantic roles & 50–950 ramp
primary
#D6C562
secondary
#414E9B
accent
#38C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F