#D2B762#D2B762
#D2B762 is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.5% C 0.110 H 92.1°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #D2B762 |
|---|---|
| RGB | rgb(210, 183, 98) |
| HSL | hsl(46, 55%, 60%) |
| HSV | hsv(46, 53%, 82%) |
| CMYK | cmyk(0%, 12.9%, 53.3%, 17.6%) |
| CIE-LAB | lab(75.11, -0.95, 46.32) |
| CIE-LCH | lch(75.11, 46.33, 91.18°) |
| OKLab | oklab(78.52% -0.0041 0.1095) |
| OKLCH | oklch(78.52% 0.11 92.1) |
| XYZ | xyz(45.7182, 48.4526, 18.4970) |
| Luminance | 0.4845 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.16
Tan (survey)
#D1B26F
ΔE00 3.87
Sand (survey)
#E2CA76
ΔE00 4.79
Sandy Brown
#C4A661
ΔE00 5.40
Sandstone
#C9AE74
ΔE00 5.55
Mustard
#DBB42C
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2B762 #627DD2
analogous
#D27F62 #D2B762 #B5D262
triadic
#D2B762 #62D2B7 #B762D2
tetradic
#D2B762 #62D27F #627DD2 #D262B5
square
#D2B762 #62D27F #627DD2 #D262B5
split-complementary
#D2B762 #62B5D2 #7F62D2
monochromatic
#907729 #C09F37 #D2B762 #E0CD92 #EDE3C1
Accessibility & contrast
On white
1.96
#D2B762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.69
#D2B762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2B762
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2B762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2B762 | 1.00 | 1.96 | 10.69 | 10.69 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B45A
Deuteranopia (green-blind)
#CEBC65
Tritanopia (blue-blind)
#E1ABA3
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #d2b762; /* rgb */ color: rgb(210, 183, 98); /* oklch */ color: oklch(78.5% 0.110 92.1);
Tailwind
colors: {
custom: {
50: '#e2cc91',
500: '#d2b762',
950: '#000000',
},
}SCSS
$custom: #d2b762; $custom-light: #e2cc91; $custom-dark: #000000;
JSON
{
"hex": "#d2b762",
"rgb": {
"r": 210,
"g": 183,
"b": 98
},
"hsl": {
"h": 45.536,
"s": 55.446,
"l": 60.392
},
"oklch": {
"l": 0.78517,
"c": 0.10957,
"h": 92.1
},
"luminance": 0.4845
}Semantic roles & 50–950 ramp
primary
#D2B762
secondary
#B3BDDD
accent
#49C323
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#16130D
muted
#84827E