#D2B037#D2B037
#D2B037 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.7% C 0.139 H 92.7°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #D2B037 |
|---|---|
| RGB | rgb(210, 176, 55) |
| HSL | hsl(47, 63%, 52%) |
| HSV | hsv(47, 74%, 82%) |
| CMYK | cmyk(0%, 16.2%, 73.8%, 17.6%) |
| CIE-LAB | lab(72.91, -0.01, 62.91) |
| CIE-LCH | lch(72.91, 62.91, 90.01°) |
| OKLab | oklab(76.66% -0.0064 0.1387) |
| OKLCH | oklch(76.66% 0.139 92.7) |
| XYZ | xyz(42.7956, 45.0307, 10.0514) |
| Luminance | 0.4503 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.16
Burnt Yellow
#D5AB09
ΔE00 3.18
Gold (survey)
#DBB40C
ΔE00 3.36
Dark Yellow
#D5B60A
ΔE00 3.71
Mustard (survey)
#CEB301
ΔE00 3.95
Brownish Yellow
#C9B003
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2B037 #3759D2
analogous
#D26337 #D2B037 #A6D237
triadic
#D2B037 #37D2B0 #B037D2
tetradic
#D2B037 #37D263 #3759D2 #D237A6
square
#D2B037 #37D263 #3759D2 #D237A6
split-complementary
#D2B037 #37A6D2 #6337D2
monochromatic
#74611A #A68A25 #D2B037 #DDC469 #E8D79B
Accessibility & contrast
On white
2.10
#D2B037 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.01
#D2B037 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2B037
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2B037 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2B037 | 1.00 | 2.10 | 10.01 | 10.01 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD23
Deuteranopia (green-blind)
#CCB73E
Tritanopia (blue-blind)
#E3A298
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #d2b037; /* rgb */ color: rgb(210, 176, 55); /* oklch */ color: oklch(76.7% 0.139 92.7);
Tailwind
colors: {
custom: {
50: '#e4c776',
500: '#d2b037',
950: '#000000',
},
}SCSS
$custom: #d2b037; $custom-light: #e4c776; $custom-dark: #000000;
JSON
{
"hex": "#d2b037",
"rgb": {
"r": 210,
"g": 176,
"b": 55
},
"hsl": {
"h": 46.839,
"s": 63.265,
"l": 51.961
},
"oklch": {
"l": 0.76657,
"c": 0.13887,
"h": 92.7
},
"luminance": 0.45028
}Semantic roles & 50–950 ramp
primary
#D2B037
secondary
#909FD4
accent
#66E641
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B