#D2C262#D2C262
#D2C262 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.119 H 100.0°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C262 |
|---|---|
| RGB | rgb(210, 194, 98) |
| HSL | hsl(51, 55%, 60%) |
| HSV | hsv(51, 53%, 82%) |
| CMYK | cmyk(0%, 7.6%, 53.3%, 17.6%) |
| CIE-LAB | lab(77.97, -6.68, 49.71) |
| CIE-LCH | lch(77.97, 50.16, 97.65°) |
| OKLab | oklab(80.78% -0.0206 0.1169) |
| OKLCH | oklch(80.78% 0.119 100) |
| XYZ | xyz(48.0763, 53.1689, 19.2831) |
| Luminance | 0.5317 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.97
Darkkhaki
#BDB76B
ΔE00 5.34
Sandy
#F1DA7A
ΔE00 6.37
Mustard Yellow
#D2BD0A
ΔE00 7.15
Dull Yellow
#EEDC5B
ΔE00 7.30
Greenish Beige
#C9D179
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C262 #6272D2
analogous
#D28A62 #D2C262 #AAD262
triadic
#D2C262 #62D2C2 #C262D2
tetradic
#D2C262 #62D28A #6272D2 #D262AA
square
#D2C262 #62D28A #6272D2 #D262AA
split-complementary
#D2C262 #62AAD2 #8A62D2
monochromatic
#908229 #C0AC37 #D2C262 #E0D492 #EDE7C1
Accessibility & contrast
On white
1.81
#D2C262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.63
#D2C262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C262
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C262 | 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)
#D1BD59
Deuteranopia (green-blind)
#D6C466
Tritanopia (blue-blind)
#E0B6AC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d2c262; /* rgb */ color: rgb(210, 194, 98); /* oklch */ color: oklch(80.8% 0.119 100.0);
Tailwind
colors: {
custom: {
50: '#e2d491',
500: '#d2c262',
950: '#000000',
},
}SCSS
$custom: #d2c262; $custom-light: #e2d491; $custom-dark: #000000;
JSON
{
"hex": "#d2c262",
"rgb": {
"r": 210,
"g": 194,
"b": 98
},
"hsl": {
"h": 51.429,
"s": 55.446,
"l": 60.392
},
"oklch": {
"l": 0.80784,
"c": 0.11868,
"h": 100
},
"luminance": 0.53167
}Semantic roles & 50–950 ramp
primary
#D2C262
secondary
#424E96
accent
#39C323
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F