#D2C260#D2C260
#D2C260 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.121 H 100.2°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C260 |
|---|---|
| RGB | rgb(210, 194, 96) |
| HSL | hsl(52, 56%, 60%) |
| HSV | hsv(52, 54%, 82%) |
| CMYK | cmyk(0%, 7.6%, 54.3%, 17.6%) |
| CIE-LAB | lab(77.95, -6.84, 50.63) |
| CIE-LCH | lch(77.95, 51.09, 97.70°) |
| OKLab | oklab(80.76% -0.0213 0.1187) |
| OKLCH | oklch(80.76% 0.121 100.2) |
| XYZ | xyz(47.9831, 53.1316, 18.7920) |
| Luminance | 0.5313 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.14
Darkkhaki
#BDB76B
ΔE00 5.51
Sandy
#F1DA7A
ΔE00 6.40
Mustard Yellow
#D2BD0A
ΔE00 6.88
Ugly Yellow
#D0C101
ΔE00 7.09
Olive Yellow
#C2B709
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C260 #6070D2
analogous
#D28960 #D2C260 #A9D260
triadic
#D2C260 #60D2C2 #C260D2
tetradic
#D2C260 #60D289 #6070D2 #D260A9
square
#D2C260 #60D289 #6070D2 #D260A9
split-complementary
#D2C260 #60A9D2 #8960D2
monochromatic
#8F8129 #BFAC36 #D2C260 #DFD490 #EDE7BF
Accessibility & contrast
On white
1.81
#D2C260 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.63
#D2C260 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C260
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C260 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C260 | 1.00 | 1.81 | 11.63 | 11.63 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BD57
Deuteranopia (green-blind)
#D6C365
Tritanopia (blue-blind)
#E0B6AC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d2c260; /* rgb */ color: rgb(210, 194, 96); /* oklch */ color: oklch(80.8% 0.121 100.2);
Tailwind
colors: {
custom: {
50: '#e2d490',
500: '#d2c260',
950: '#000000',
},
}SCSS
$custom: #d2c260; $custom-light: #e2d490; $custom-dark: #000000;
JSON
{
"hex": "#d2c260",
"rgb": {
"r": 210,
"g": 194,
"b": 96
},
"hsl": {
"h": 51.579,
"s": 55.882,
"l": 60
},
"oklch": {
"l": 0.80759,
"c": 0.12059,
"h": 100.2
},
"luminance": 0.5313
}Semantic roles & 50–950 ramp
primary
#D2C260
secondary
#414D95
accent
#5EDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F