#D0BA4F#D0BA4F
#D0BA4F is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.7% C 0.129 H 97.7°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #D0BA4F |
|---|---|
| RGB | rgb(208, 186, 79) |
| HSL | hsl(50, 58%, 56%) |
| HSV | hsv(50, 62%, 82%) |
| CMYK | cmyk(0%, 10.6%, 62%, 18.4%) |
| CIE-LAB | lab(75.51, -4.79, 55.64) |
| CIE-LCH | lch(75.51, 55.84, 94.92°) |
| OKLab | oklab(78.73% -0.0172 0.1274) |
| OKLCH | oklch(78.73% 0.129 97.7) |
| XYZ | xyz(44.9845, 49.0943, 14.5023) |
| Luminance | 0.4909 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard (survey)
#CEB301
ΔE00 5.31
Dark Yellow
#D5B60A
ΔE00 5.35
Mustard Yellow
#D2BD0A
ΔE00 5.36
Mustard
#DBB42C
ΔE00 5.36
Brownish Yellow
#C9B003
ΔE00 5.38
Sand (survey)
#E2CA76
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D0BA4F #4F65D0
analogous
#D07A4F #D0BA4F #A6D04F
triadic
#D0BA4F #4FD0BA #BA4FD0
tetradic
#D0BA4F #4FD07A #4F65D0 #D04FA6
square
#D0BA4F #4FD07A #4F65D0 #D04FA6
split-complementary
#D0BA4F #4FA6D0 #7A4FD0
monochromatic
#827223 #B29C30 #D0BA4F #DDCD7F #EAE0B0
Accessibility & contrast
On white
1.94
#D0BA4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.82
#D0BA4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D0BA4F
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D0BA4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D0BA4F | 1.00 | 1.94 | 10.82 | 10.82 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB643
Deuteranopia (green-blind)
#D1BD54
Tritanopia (blue-blind)
#DFADA3
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #d0ba4f; /* rgb */ color: rgb(208, 186, 79); /* oklch */ color: oklch(78.7% 0.129 97.7);
Tailwind
colors: {
custom: {
50: '#e1ce85',
500: '#d0ba4f',
950: '#000000',
},
}SCSS
$custom: #d0ba4f; $custom-light: #e1ce85; $custom-dark: #000000;
JSON
{
"hex": "#d0ba4f",
"rgb": {
"r": 208,
"g": 186,
"b": 79
},
"hsl": {
"h": 49.767,
"s": 57.848,
"l": 56.275
},
"oklch": {
"l": 0.78727,
"c": 0.12857,
"h": 97.7
},
"luminance": 0.49092
}Semantic roles & 50–950 ramp
primary
#D0BA4F
secondary
#A3ACD8
accent
#61E147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C