#D0C262#D0C262
#D0C262 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.119 H 101.1°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #D0C262 |
|---|---|
| RGB | rgb(208, 194, 98) |
| HSL | hsl(52, 54%, 60%) |
| HSV | hsv(52, 53%, 82%) |
| CMYK | cmyk(0%, 6.7%, 52.9%, 18.4%) |
| CIE-LAB | lab(77.80, -7.51, 49.47) |
| CIE-LCH | lch(77.80, 50.03, 98.63°) |
| OKLab | oklab(80.61% -0.0229 0.1164) |
| OKLCH | oklch(80.61% 0.119 101.1) |
| XYZ | xyz(47.5103, 52.8770, 19.2566) |
| Luminance | 0.5288 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.39
Darkkhaki
#BDB76B
ΔE00 5.00
Sandy
#F1DA7A
ΔE00 6.64
Greenish Beige
#C9D179
ΔE00 6.88
Mustard Yellow
#D2BD0A
ΔE00 7.29
Vomit Yellow
#C7C10C
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D0C262 #6270D0
analogous
#D08B62 #D0C262 #A7D062
triadic
#D0C262 #62D0C2 #C262D0
tetradic
#D0C262 #62D08B #6270D0 #D062A7
square
#D0C262 #62D08B #6270D0 #D062A7
split-complementary
#D0C262 #62A7D0 #8B62D0
monochromatic
#8D812A #BCAC38 #D0C262 #DED491 #ECE7C0
Accessibility & contrast
On white
1.81
#D0C262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.58
#D0C262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D0C262
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D0C262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D0C262 | 1.00 | 1.81 | 11.58 | 11.58 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BD59
Deuteranopia (green-blind)
#D5C366
Tritanopia (blue-blind)
#DEB7AC
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d0c262; /* rgb */ color: rgb(208, 194, 98); /* oklch */ color: oklch(80.6% 0.119 101.1);
Tailwind
colors: {
custom: {
50: '#e1d491',
500: '#d0c262',
950: '#000000',
},
}SCSS
$custom: #d0c262; $custom-light: #e1d491; $custom-dark: #000000;
JSON
{
"hex": "#d0c262",
"rgb": {
"r": 208,
"g": 194,
"b": 98
},
"hsl": {
"h": 52.364,
"s": 53.922,
"l": 60
},
"oklch": {
"l": 0.80606,
"c": 0.11862,
"h": 101.1
},
"luminance": 0.52875
}Semantic roles & 50–950 ramp
primary
#D0C262
secondary
#434D94
accent
#5DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F