#D2C865#D2C865
#D2C865 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.1% C 0.122 H 103.5°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C865 |
|---|---|
| RGB | rgb(210, 200, 101) |
| HSL | hsl(54, 55%, 61%) |
| HSV | hsv(54, 52%, 82%) |
| CMYK | cmyk(0%, 4.8%, 51.9%, 17.6%) |
| CIE-LAB | lab(79.59, -9.51, 50.18) |
| CIE-LCH | lch(79.59, 51.07, 100.73°) |
| OKLab | oklab(82.07% -0.0284 0.1182) |
| OKLCH | oklch(82.07% 0.122 103.5) |
| XYZ | xyz(49.5830, 55.9514, 20.4973) |
| Luminance | 0.5595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.88
Greenish Beige
#C9D179
ΔE00 5.54
Darkkhaki
#BDB76B
ΔE00 5.78
Sandy
#F1DA7A
ΔE00 6.07
Dull Yellow
#EEDC5B
ΔE00 6.46
Vomit Yellow
#C7C10C
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C865 #656FD2
analogous
#D29165 #D2C865 #A5D265
triadic
#D2C865 #65D2C8 #C865D2
tetradic
#D2C865 #65D291 #656FD2 #D265A5
square
#D2C865 #65D291 #656FD2 #D265A5
split-complementary
#D2C865 #65A5D2 #9165D2
monochromatic
#92882B #C1B538 #D2C865 #E0D994 #EEEAC4
Accessibility & contrast
On white
1.72
#D2C865 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.19
#D2C865 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C865
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C865 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C865 | 1.00 | 1.72 | 12.19 | 12.19 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C25C
Deuteranopia (green-blind)
#DAC86A
Tritanopia (blue-blind)
#DFBDB1
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #d2c865; /* rgb */ color: rgb(210, 200, 101); /* oklch */ color: oklch(82.1% 0.122 103.5);
Tailwind
colors: {
custom: {
50: '#e2d893',
500: '#d2c865',
950: '#000000',
},
}SCSS
$custom: #d2c865; $custom-light: #e2d893; $custom-dark: #000000;
JSON
{
"hex": "#d2c865",
"rgb": {
"r": 210,
"g": 200,
"b": 101
},
"hsl": {
"h": 54.495,
"s": 54.774,
"l": 60.98
},
"oklch": {
"l": 0.82073,
"c": 0.12156,
"h": 103.5
},
"luminance": 0.5595
}Semantic roles & 50–950 ramp
primary
#D2C865
secondary
#444B98
accent
#32C223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F