#D0B840#D0B840
#D0B840 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.138 H 97.7°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #D0B840 |
|---|---|
| RGB | rgb(208, 184, 64) |
| HSL | hsl(50, 61%, 53%) |
| HSV | hsv(50, 69%, 82%) |
| CMYK | cmyk(0%, 11.5%, 69.2%, 18.4%) |
| CIE-LAB | lab(74.86, -4.63, 61.30) |
| CIE-LCH | lch(74.86, 61.47, 94.32°) |
| OKLab | oklab(78.18% -0.0185 0.137) |
| OKLCH | oklch(78.18% 0.138 97.7) |
| XYZ | xyz(44.0804, 48.0632, 11.8048) |
| Luminance | 0.4806 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard (survey)
#CEB301
ΔE00 3.66
Dark Yellow
#D5B60A
ΔE00 3.75
Brownish Yellow
#C9B003
ΔE00 3.81
Mustard Yellow
#D2BD0A
ΔE00 4.04
Mustard
#DBB42C
ΔE00 4.25
Muddy Yellow
#BFAC05
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D0B840 #4058D0
analogous
#D07040 #D0B840 #A0D040
triadic
#D0B840 #40D0B8 #B840D0
tetradic
#D0B840 #40D070 #4058D0 #D040A0
square
#D0B840 #40D070 #4058D0 #D040A0
split-complementary
#D0B840 #40A0D0 #7040D0
monochromatic
#78691E #A9942A #D0B840 #DCCA71 #E8DDA2
Accessibility & contrast
On white
1.98
#D0B840 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.61
#D0B840 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D0B840
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D0B840 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D0B840 | 1.00 | 1.98 | 10.61 | 10.61 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB42F
Deuteranopia (green-blind)
#D0BC47
Tritanopia (blue-blind)
#E0AAA0
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #d0b840; /* rgb */ color: rgb(208, 184, 64); /* oklch */ color: oklch(78.2% 0.138 97.7);
Tailwind
colors: {
custom: {
50: '#e2cd7c',
500: '#d0b840',
950: '#000000',
},
}SCSS
$custom: #d0b840; $custom-light: #e2cd7c; $custom-dark: #000000;
JSON
{
"hex": "#d0b840",
"rgb": {
"r": 208,
"g": 184,
"b": 64
},
"hsl": {
"h": 50,
"s": 60.504,
"l": 53.333
},
"oklch": {
"l": 0.78177,
"c": 0.13829,
"h": 97.7
},
"luminance": 0.48061
}Semantic roles & 50–950 ramp
primary
#D0B840
secondary
#97A1D5
accent
#5FE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C