#D2B459#D2B459
#D2B459 is a light, moderate yellow. Relative luminance 0.471; OKLCH L 77.8% C 0.116 H 91.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #D2B459 |
|---|---|
| RGB | rgb(210, 180, 89) |
| HSL | hsl(45, 57%, 59%) |
| HSV | hsv(45, 58%, 82%) |
| CMYK | cmyk(0%, 14.3%, 57.6%, 17.6%) |
| CIE-LAB | lab(74.23, -0.09, 49.64) |
| CIE-LCH | lch(74.23, 49.64, 90.11°) |
| OKLab | oklab(77.79% -0.0026 0.1158) |
| OKLCH | oklch(77.79% 0.116 91.3) |
| XYZ | xyz(44.7047, 47.0677, 16.1795) |
| Luminance | 0.4707 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.95
Tan (survey)
#D1B26F
ΔE00 4.32
Sandy Brown
#C4A661
ΔE00 5.26
Mustard
#DBB42C
ΔE00 5.28
Sand (survey)
#E2CA76
ΔE00 5.77
Sandstone
#C9AE74
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2B459 #5977D2
analogous
#D27759 #D2B459 #B3D259
triadic
#D2B459 #59D2B4 #B459D2
tetradic
#D2B459 #59D277 #5977D2 #D259B3
square
#D2B459 #59D277 #5977D2 #D259B3
split-complementary
#D2B459 #59B3D2 #7759D2
monochromatic
#8B7226 #BB9933 #D2B459 #DFCA89 #ECE0B9
Accessibility & contrast
On white
2.02
#D2B459 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.41
#D2B459 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2B459
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2B459 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2B459 | 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)
#C5B250
Deuteranopia (green-blind)
#CCBA5D
Tritanopia (blue-blind)
#E1A89F
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #d2b459; /* rgb */ color: rgb(210, 180, 89); /* oklch */ color: oklch(77.8% 0.116 91.3);
Tailwind
colors: {
custom: {
50: '#e3ca8b',
500: '#d2b459',
950: '#000000',
},
}SCSS
$custom: #d2b459; $custom-light: #e3ca8b; $custom-dark: #000000;
JSON
{
"hex": "#d2b459",
"rgb": {
"r": 210,
"g": 180,
"b": 89
},
"hsl": {
"h": 45.124,
"s": 57.346,
"l": 58.627
},
"oklch": {
"l": 0.77793,
"c": 0.11581,
"h": 91.3
},
"luminance": 0.47065
}Semantic roles & 50–950 ramp
primary
#D2B459
secondary
#ABB7DB
accent
#6DE147
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D