#D3C168#D3C168
#D3C168 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.112 H 98.1°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #D3C168 |
|---|---|
| RGB | rgb(211, 193, 104) |
| HSL | hsl(50, 55%, 62%) |
| HSV | hsv(50, 51%, 83%) |
| CMYK | cmyk(0%, 8.5%, 50.7%, 17.3%) |
| CIE-LAB | lab(77.87, -5.24, 46.71) |
| CIE-LCH | lch(77.87, 47.00, 96.40°) |
| OKLab | oklab(80.74% -0.0159 0.1109) |
| OKLCH | oklch(80.74% 0.112 98.1) |
| XYZ | xyz(48.4342, 52.9901, 20.7709) |
| Luminance | 0.5299 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.26
Darkkhaki
#BDB76B
ΔE00 5.11
Sandy
#F1DA7A
ΔE00 6.36
Desert
#CCAD60
ΔE00 6.54
Tan (survey)
#D1B26F
ΔE00 6.75
Maize
#F4D054
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3C168 #687AD3
analogous
#D38C68 #D3C168 #AFD368
triadic
#D3C168 #68D3C1 #C168D3
tetradic
#D3C168 #68D38C #687AD3 #D368AF
square
#D3C168 #68D38C #687AD3 #D368AF
split-complementary
#D3C168 #68AFD3 #8C68D3
monochromatic
#95832B #C5AD39 #D3C168 #E1D497 #EFE8C7
Accessibility & contrast
On white
1.81
#D3C168 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.60
#D3C168 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3C168
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3C168 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3C168 | 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)
#D0BD60
Deuteranopia (green-blind)
#D5C36C
Tritanopia (blue-blind)
#E1B6AC
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d3c168; /* rgb */ color: rgb(211, 193, 104); /* oklch */ color: oklch(80.7% 0.112 98.1);
Tailwind
colors: {
custom: {
50: '#e3d395',
500: '#d3c168',
950: '#000000',
},
}SCSS
$custom: #d3c168; $custom-light: #e3d395; $custom-dark: #000000;
JSON
{
"hex": "#d3c168",
"rgb": {
"r": 211,
"g": 193,
"b": 104
},
"hsl": {
"h": 49.907,
"s": 54.872,
"l": 61.765
},
"oklch": {
"l": 0.80743,
"c": 0.112,
"h": 98.1
},
"luminance": 0.52988
}Semantic roles & 50–950 ramp
primary
#D3C168
secondary
#45539A
accent
#3EC223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F