#D1C262#D1C262
#D1C262 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.119 H 100.6°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #D1C262 |
|---|---|
| RGB | rgb(209, 194, 98) |
| HSL | hsl(52, 55%, 60%) |
| HSV | hsv(52, 53%, 82%) |
| CMYK | cmyk(0%, 7.2%, 53.1%, 18%) |
| CIE-LAB | lab(77.89, -7.09, 49.59) |
| CIE-LCH | lch(77.89, 50.09, 98.14°) |
| OKLab | oklab(80.69% -0.0217 0.1166) |
| OKLCH | oklch(80.69% 0.119 100.6) |
| XYZ | xyz(47.7924, 53.0225, 19.2698) |
| Luminance | 0.5302 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.18
Darkkhaki
#BDB76B
ΔE00 5.17
Sandy
#F1DA7A
ΔE00 6.50
Greenish Beige
#C9D179
ΔE00 7.11
Mustard Yellow
#D2BD0A
ΔE00 7.21
Olive Yellow
#C2B709
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1C262 #6271D1
analogous
#D18A62 #D1C262 #A8D162
triadic
#D1C262 #62D1C2 #C262D1
tetradic
#D1C262 #62D18A #6271D1 #D162A8
square
#D1C262 #62D18A #6271D1 #D162A8
split-complementary
#D1C262 #62A8D1 #8A62D1
monochromatic
#8F812A #BEAC38 #D1C262 #DFD491 #EDE7C1
Accessibility & contrast
On white
1.81
#D1C262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.60
#D1C262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1C262
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1C262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1C262 | 1.00 | 1.81 | 11.60 | 11.60 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BD59
Deuteranopia (green-blind)
#D6C366
Tritanopia (blue-blind)
#DFB6AC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d1c262; /* rgb */ color: rgb(209, 194, 98); /* oklch */ color: oklch(80.7% 0.119 100.6);
Tailwind
colors: {
custom: {
50: '#e1d491',
500: '#d1c262',
950: '#000000',
},
}SCSS
$custom: #d1c262; $custom-light: #e1d491; $custom-dark: #000000;
JSON
{
"hex": "#d1c262",
"rgb": {
"r": 209,
"g": 194,
"b": 98
},
"hsl": {
"h": 51.892,
"s": 54.68,
"l": 60.196
},
"oklch": {
"l": 0.80695,
"c": 0.11864,
"h": 100.6
},
"luminance": 0.53021
}Semantic roles & 50–950 ramp
primary
#D1C262
secondary
#424E95
accent
#39C223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F