#D2B351#D2B351
#D2B351 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.5% C 0.122 H 91.8°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #D2B351 |
|---|---|
| RGB | rgb(210, 179, 81) |
| HSL | hsl(46, 59%, 57%) |
| HSV | hsv(46, 61%, 82%) |
| CMYK | cmyk(0%, 14.8%, 61.4%, 17.6%) |
| CIE-LAB | lab(73.89, -0.14, 53.00) |
| CIE-LCH | lch(73.89, 53.00, 90.15°) |
| OKLab | oklab(77.5% -0.0037 0.122) |
| OKLCH | oklch(77.5% 0.122 91.8) |
| XYZ | xyz(44.1857, 46.5383, 14.4384) |
| Luminance | 0.4654 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.63
Mustard
#DBB42C
ΔE00 4.34
Tan (survey)
#D1B26F
ΔE00 5.25
Burnt Yellow
#D5AB09
ΔE00 5.80
Sandy Brown
#C4A661
ΔE00 5.82
Gold (survey)
#DBB40C
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2B351 #5170D2
analogous
#D27251 #D2B351 #B1D251
triadic
#D2B351 #51D2B3 #B351D2
tetradic
#D2B351 #51D272 #5170D2 #D251B1
square
#D2B351 #51D272 #5170D2 #D251B1
split-complementary
#D2B351 #51B1D2 #7251D2
monochromatic
#866E23 #B7962F #D2B351 #DFC882 #EBDDB2
Accessibility & contrast
On white
2.04
#D2B351 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.31
#D2B351 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2B351
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2B351 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2B351 | 1.00 | 2.04 | 10.31 | 10.31 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B047
Deuteranopia (green-blind)
#CCB955
Tritanopia (blue-blind)
#E2A69E
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #d2b351; /* rgb */ color: rgb(210, 179, 81); /* oklch */ color: oklch(77.5% 0.122 91.8);
Tailwind
colors: {
custom: {
50: '#e3c985',
500: '#d2b351',
950: '#000000',
},
}SCSS
$custom: #d2b351; $custom-light: #e3c985; $custom-dark: #000000;
JSON
{
"hex": "#d2b351",
"rgb": {
"r": 210,
"g": 179,
"b": 81
},
"hsl": {
"h": 45.581,
"s": 58.904,
"l": 57.059
},
"oklch": {
"l": 0.77498,
"c": 0.12207,
"h": 91.8
},
"luminance": 0.46536
}Semantic roles & 50–950 ramp
primary
#D2B351
secondary
#A5B2DA
accent
#6BE246
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C