#D3C162#D3C162
#D3C162 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.118 H 98.8°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #D3C162 |
|---|---|
| RGB | rgb(211, 193, 98) |
| HSL | hsl(50, 56%, 61%) |
| HSV | hsv(50, 54%, 83%) |
| CMYK | cmyk(0%, 8.5%, 53.6%, 17.3%) |
| CIE-LAB | lab(77.80, -5.75, 49.53) |
| CIE-LCH | lch(77.80, 49.86, 96.62°) |
| OKLab | oklab(80.67% -0.018 0.1165) |
| OKLCH | oklch(80.67% 0.118 98.8) |
| XYZ | xyz(48.1402, 52.8725, 19.2225) |
| Luminance | 0.5287 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.68
Darkkhaki
#BDB76B
ΔE00 5.51
Sandy
#F1DA7A
ΔE00 6.37
Desert
#CCAD60
ΔE00 6.88
Mustard Yellow
#D2BD0A
ΔE00 7.14
Maize
#F4D054
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3C162 #6274D3
analogous
#D38862 #D3C162 #ADD362
triadic
#D3C162 #62D3C1 #C162D3
tetradic
#D3C162 #62D388 #6274D3 #D362AD
square
#D3C162 #62D388 #6274D3 #D362AD
split-complementary
#D3C162 #62ADD3 #8862D3
monochromatic
#928129 #C2AB36 #D3C162 #E0D492 #EEE7C2
Accessibility & contrast
On white
1.81
#D3C162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#D3C162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3C162
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3C162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3C162 | 1.00 | 1.81 | 11.57 | 11.57 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BD59
Deuteranopia (green-blind)
#D6C366
Tritanopia (blue-blind)
#E1B5AB
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d3c162; /* rgb */ color: rgb(211, 193, 98); /* oklch */ color: oklch(80.7% 0.118 98.8);
Tailwind
colors: {
custom: {
50: '#e3d391',
500: '#d3c162',
950: '#000000',
},
}SCSS
$custom: #d3c162; $custom-light: #e3d391; $custom-dark: #000000;
JSON
{
"hex": "#d3c162",
"rgb": {
"r": 211,
"g": 193,
"b": 98
},
"hsl": {
"h": 50.442,
"s": 56.219,
"l": 60.588
},
"oklch": {
"l": 0.80666,
"c": 0.11785,
"h": 98.8
},
"luminance": 0.52871
}Semantic roles & 50–950 ramp
primary
#D3C162
secondary
#424F97
accent
#3CC422
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F