#D2C063#D2C063
#D2C063 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.116 H 98.6°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C063 |
|---|---|
| RGB | rgb(210, 192, 99) |
| HSL | hsl(50, 55%, 61%) |
| HSV | hsv(50, 53%, 82%) |
| CMYK | cmyk(0%, 8.6%, 52.9%, 17.6%) |
| CIE-LAB | lab(77.46, -5.56, 48.63) |
| CIE-LCH | lch(77.46, 48.95, 96.53°) |
| OKLab | oklab(80.38% -0.0173 0.1146) |
| OKLCH | oklch(80.38% 0.116 98.6) |
| XYZ | xyz(47.6817, 52.3036, 19.3859) |
| Luminance | 0.5230 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.72
Darkkhaki
#BDB76B
ΔE00 5.23
Desert
#CCAD60
ΔE00 6.59
Sandy
#F1DA7A
ΔE00 6.60
Tan (survey)
#D1B26F
ΔE00 7.04
Mustard Yellow
#D2BD0A
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C063 #6375D2
analogous
#D28863 #D2C063 #ADD263
triadic
#D2C063 #63D2C0 #C063D2
tetradic
#D2C063 #63D288 #6375D2 #D263AD
square
#D2C063 #63D288 #6375D2 #D263AD
split-complementary
#D2C063 #63ADD2 #8863D2
monochromatic
#91802A #C0AA37 #D2C063 #E0D392 #EDE6C2
Accessibility & contrast
On white
1.83
#D2C063 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.46
#D2C063 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C063
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C063 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C063 | 1.00 | 1.83 | 11.46 | 11.46 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC5A
Deuteranopia (green-blind)
#D5C267
Tritanopia (blue-blind)
#E0B4AB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #d2c063; /* rgb */ color: rgb(210, 192, 99); /* oklch */ color: oklch(80.4% 0.116 98.6);
Tailwind
colors: {
custom: {
50: '#e2d292',
500: '#d2c063',
950: '#000000',
},
}SCSS
$custom: #d2c063; $custom-light: #e2d292; $custom-dark: #000000;
JSON
{
"hex": "#d2c063",
"rgb": {
"r": 210,
"g": 192,
"b": 99
},
"hsl": {
"h": 50.27,
"s": 55.224,
"l": 60.588
},
"oklch": {
"l": 0.80381,
"c": 0.11592,
"h": 98.6
},
"luminance": 0.52302
}Semantic roles & 50–950 ramp
primary
#D2C063
secondary
#435097
accent
#3DC323
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F