#D2C862#D2C862
#D2C862 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.124 H 103.7°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C862 |
|---|---|
| RGB | rgb(210, 200, 98) |
| HSL | hsl(55, 55%, 60%) |
| HSV | hsv(55, 53%, 82%) |
| CMYK | cmyk(0%, 4.8%, 53.3%, 17.6%) |
| CIE-LAB | lab(79.55, -9.76, 51.56) |
| CIE-LCH | lch(79.55, 52.47, 100.72°) |
| OKLab | oklab(82.04% -0.0294 0.1209) |
| OKLCH | oklch(82.04% 0.124 103.7) |
| XYZ | xyz(49.4387, 55.8937, 19.7372) |
| Luminance | 0.5589 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.10
Greenish Beige
#C9D179
ΔE00 5.74
Darkkhaki
#BDB76B
ΔE00 6.03
Sandy
#F1DA7A
ΔE00 6.14
Dull Yellow
#EEDC5B
ΔE00 6.25
Vomit Yellow
#C7C10C
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C862 #626CD2
analogous
#D29062 #D2C862 #A4D262
triadic
#D2C862 #62D2C8 #C862D2
tetradic
#D2C862 #62D290 #626CD2 #D262A4
square
#D2C862 #62D290 #626CD2 #D262A4
split-complementary
#D2C862 #62A4D2 #9062D2
monochromatic
#908729 #C0B437 #D2C862 #E0D992 #EDE9C1
Accessibility & contrast
On white
1.72
#D2C862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.18
#D2C862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C862
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C862 | 1.00 | 1.72 | 12.18 | 12.18 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C258
Deuteranopia (green-blind)
#DBC867
Tritanopia (blue-blind)
#E0BCB1
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #d2c862; /* rgb */ color: rgb(210, 200, 98); /* oklch */ color: oklch(82.0% 0.124 103.7);
Tailwind
colors: {
custom: {
50: '#e2d891',
500: '#d2c862',
950: '#000000',
},
}SCSS
$custom: #d2c862; $custom-light: #e2d891; $custom-dark: #000000;
JSON
{
"hex": "#d2c862",
"rgb": {
"r": 210,
"g": 200,
"b": 98
},
"hsl": {
"h": 54.643,
"s": 55.446,
"l": 60.392
},
"oklch": {
"l": 0.82036,
"c": 0.12442,
"h": 103.7
},
"luminance": 0.55892
}Semantic roles & 50–950 ramp
primary
#D2C862
secondary
#424A96
accent
#31C323
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F