#D2C65D#D2C65D
#D2C65D is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.127 H 102.8°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C65D |
|---|---|
| RGB | rgb(210, 198, 93) |
| HSL | hsl(54, 57%, 59%) |
| HSV | hsv(54, 56%, 82%) |
| CMYK | cmyk(0%, 5.7%, 55.7%, 17.6%) |
| CIE-LAB | lab(78.97, -9.13, 53.22) |
| CIE-LCH | lch(78.97, 53.99, 99.74°) |
| OKLab | oklab(81.56% -0.0282 0.1239) |
| OKLCH | oklch(81.56% 0.127 102.8) |
| XYZ | xyz(48.7498, 54.8818, 18.3791) |
| Luminance | 0.5488 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.06
Darkkhaki
#BDB76B
ΔE00 6.16
Dull Yellow
#EEDC5B
ΔE00 6.23
Vomit Yellow
#C7C10C
ΔE00 6.27
Sandy
#F1DA7A
ΔE00 6.28
Dirty Yellow
#CDC50A
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C65D #5D69D2
analogous
#D28C5D #D2C65D #A4D25D
triadic
#D2C65D #5DD2C6 #C65DD2
tetradic
#D2C65D #5DD28C #5D69D2 #D25DA4
square
#D2C65D #5DD28C #5D69D2 #D25DA4
split-complementary
#D2C65D #5DA4D2 #8C5DD2
monochromatic
#8D8327 #BDAF35 #D2C65D #DFD78D #EDE8BD
Accessibility & contrast
On white
1.75
#D2C65D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.98
#D2C65D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C65D
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C65D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C65D | 1.00 | 1.75 | 11.98 | 11.98 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C053
Deuteranopia (green-blind)
#DAC662
Tritanopia (blue-blind)
#E0BAAF
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d2c65d; /* rgb */ color: rgb(210, 198, 93); /* oklch */ color: oklch(81.6% 0.127 102.8);
Tailwind
colors: {
custom: {
50: '#e2d78e',
500: '#d2c65d',
950: '#000000',
},
}SCSS
$custom: #d2c65d; $custom-light: #e2d78e; $custom-dark: #000000;
JSON
{
"hex": "#d2c65d",
"rgb": {
"r": 210,
"g": 198,
"b": 93
},
"hsl": {
"h": 53.846,
"s": 56.522,
"l": 59.412
},
"oklch": {
"l": 0.81559,
"c": 0.1271,
"h": 102.8
},
"luminance": 0.5488
}Semantic roles & 50–950 ramp
primary
#D2C65D
secondary
#404893
accent
#58E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F