#D8B850#D8B850
#D8B850 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 79.1% C 0.127 H 92.1°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #D8B850 |
|---|---|
| RGB | rgb(216, 184, 80) |
| HSL | hsl(46, 64%, 58%) |
| HSV | hsv(46, 63%, 85%) |
| CMYK | cmyk(0%, 14.8%, 63%, 15.3%) |
| CIE-LAB | lab(75.74, -0.29, 55.65) |
| CIE-LCH | lch(75.74, 55.65, 90.30°) |
| OKLab | oklab(79.08% -0.0047 0.1274) |
| OKLCH | oklch(79.08% 0.127 92.1) |
| XYZ | xyz(46.9096, 49.4616, 14.6641) |
| Luminance | 0.4946 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.65
Desert
#CCAD60
ΔE00 4.94
Gold (survey)
#DBB40C
ΔE00 5.14
Dark Yellow
#D5B60A
ΔE00 5.29
Sand (survey)
#E2CA76
ΔE00 5.60
Burnt Yellow
#D5AB09
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8B850 #5070D8
analogous
#D87450 #D8B850 #B4D850
triadic
#D8B850 #50D8B8 #B850D8
tetradic
#D8B850 #50D874 #5070D8 #D850B4
square
#D8B850 #50D874 #5070D8 #D850B4
split-complementary
#D8B850 #50B4D8 #7450D8
monochromatic
#8E7420 #C09D2B #D8B850 #E3CC82 #EEE1B4
Accessibility & contrast
On white
1.93
#D8B850 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.89
#D8B850 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8B850
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8B850 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8B850 | 1.00 | 1.93 | 10.89 | 10.89 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB545
Deuteranopia (green-blind)
#D2BF55
Tritanopia (blue-blind)
#E9AAA2
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #d8b850; /* rgb */ color: rgb(216, 184, 80); /* oklch */ color: oklch(79.1% 0.127 92.1);
Tailwind
colors: {
custom: {
50: '#e7cd85',
500: '#d8b850',
950: '#000000',
},
}SCSS
$custom: #d8b850; $custom-light: #e7cd85; $custom-dark: #000000;
JSON
{
"hex": "#d8b850",
"rgb": {
"r": 216,
"g": 184,
"b": 80
},
"hsl": {
"h": 45.882,
"s": 63.551,
"l": 58.039
},
"oklch": {
"l": 0.79083,
"c": 0.12746,
"h": 92.1
},
"luminance": 0.49459
}Semantic roles & 50–950 ramp
primary
#D8B850
secondary
#A7B4DD
accent
#68E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C