#D2C663#D2C663
#D2C663 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.122 H 102.4°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C663 |
|---|---|
| RGB | rgb(210, 198, 99) |
| HSL | hsl(54, 55%, 61%) |
| HSV | hsv(54, 53%, 82%) |
| CMYK | cmyk(0%, 5.7%, 52.9%, 17.6%) |
| CIE-LAB | lab(79.04, -8.65, 50.48) |
| CIE-LCH | lch(79.04, 51.22, 99.73°) |
| OKLab | oklab(81.63% -0.0262 0.1187) |
| OKLCH | oklch(81.63% 0.122 102.4) |
| XYZ | xyz(49.0261, 54.9923, 19.8341) |
| Luminance | 0.5499 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.57
Darkkhaki
#BDB76B
ΔE00 5.63
Sandy
#F1DA7A
ΔE00 6.11
Greenish Beige
#C9D179
ΔE00 6.17
Dull Yellow
#EEDC5B
ΔE00 6.60
Vomit Yellow
#C7C10C
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C663 #636FD2
analogous
#D28F63 #D2C663 #A6D263
triadic
#D2C663 #63D2C6 #C663D2
tetradic
#D2C663 #63D28F #636FD2 #D263A6
square
#D2C663 #63D28F #636FD2 #D263A6
split-complementary
#D2C663 #63A6D2 #8F63D2
monochromatic
#91862A #C0B237 #D2C663 #E0D792 #EDE9C2
Accessibility & contrast
On white
1.75
#D2C663 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.00
#D2C663 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C663
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C663 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C663 | 1.00 | 1.75 | 12.00 | 12.00 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C15A
Deuteranopia (green-blind)
#D9C668
Tritanopia (blue-blind)
#E0BAAF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d2c663; /* rgb */ color: rgb(210, 198, 99); /* oklch */ color: oklch(81.6% 0.122 102.4);
Tailwind
colors: {
custom: {
50: '#e2d792',
500: '#d2c663',
950: '#000000',
},
}SCSS
$custom: #d2c663; $custom-light: #e2d792; $custom-dark: #000000;
JSON
{
"hex": "#d2c663",
"rgb": {
"r": 210,
"g": 198,
"b": 99
},
"hsl": {
"h": 53.514,
"s": 55.224,
"l": 60.588
},
"oklch": {
"l": 0.8163,
"c": 0.12151,
"h": 102.4
},
"luminance": 0.54991
}Semantic roles & 50–950 ramp
primary
#D2C663
secondary
#434C97
accent
#34C323
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F