#D2B458#D2B458
#D2B458 is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.8% C 0.117 H 91.5°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #D2B458 |
|---|---|
| RGB | rgb(210, 180, 88) |
| HSL | hsl(45, 58%, 58%) |
| HSV | hsv(45, 58%, 82%) |
| CMYK | cmyk(0%, 14.3%, 58.1%, 17.6%) |
| CIE-LAB | lab(74.22, -0.17, 50.10) |
| CIE-LCH | lch(74.22, 50.10, 90.19°) |
| OKLab | oklab(77.78% -0.003 0.1167) |
| OKLCH | oklch(77.78% 0.117 91.5) |
| XYZ | xyz(44.6630, 47.0510, 15.9599) |
| Luminance | 0.4705 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.07
Tan (survey)
#D1B26F
ΔE00 4.47
Mustard
#DBB42C
ΔE00 5.16
Sandy Brown
#C4A661
ΔE00 5.37
Sand (survey)
#E2CA76
ΔE00 5.80
Sandstone
#C9AE74
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2B458 #5876D2
analogous
#D27758 #D2B458 #B3D258
triadic
#D2B458 #58D2B4 #B458D2
tetradic
#D2B458 #58D277 #5876D2 #D258B3
square
#D2B458 #58D277 #5876D2 #D258B3
split-complementary
#D2B458 #58B3D2 #7758D2
monochromatic
#8A7125 #BB9932 #D2B458 #DFCA88 #ECDFB8
Accessibility & contrast
On white
2.02
#D2B458 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.41
#D2B458 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2B458
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2B458 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2B458 | 1.00 | 2.02 | 10.41 | 10.41 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B14F
Deuteranopia (green-blind)
#CDBA5C
Tritanopia (blue-blind)
#E1A79F
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #d2b458; /* rgb */ color: rgb(210, 180, 88); /* oklch */ color: oklch(77.8% 0.117 91.5);
Tailwind
colors: {
custom: {
50: '#e3ca8a',
500: '#d2b458',
950: '#000000',
},
}SCSS
$custom: #d2b458; $custom-light: #e3ca8a; $custom-dark: #000000;
JSON
{
"hex": "#d2b458",
"rgb": {
"r": 210,
"g": 180,
"b": 88
},
"hsl": {
"h": 45.246,
"s": 57.547,
"l": 58.431
},
"oklch": {
"l": 0.77781,
"c": 0.1167,
"h": 91.5
},
"luminance": 0.47049
}Semantic roles & 50–950 ramp
primary
#D2B458
secondary
#ABB7DB
accent
#6DE147
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D