#BAA040#BAA040
#BAA040 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.1% C 0.118 H 94.0°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA040 |
|---|---|
| RGB | rgb(186, 160, 64) |
| HSL | hsl(47, 49%, 49%) |
| HSV | hsv(47, 66%, 73%) |
| CMYK | cmyk(0%, 14%, 65.6%, 27.1%) |
| CIE-LAB | lab(66.48, -1.48, 51.94) |
| CIE-LCH | lch(66.48, 51.96, 91.63°) |
| OKLab | oklab(71.06% -0.0082 0.118) |
| OKLCH | oklch(71.06% 0.118 94) |
| XYZ | xyz(33.7475, 35.9527, 10.0115) |
| Luminance | 0.3595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.73
Brown Yellow
#B29705
ΔE00 4.82
Dark Gold
#B59410
ΔE00 4.97
Sandy Brown
#C4A661
ΔE00 5.33
Yellow Brown
#B79400
ΔE00 5.49
Desert
#CCAD60
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA040 #405ABA
analogous
#BA6340 #BAA040 #97BA40
triadic
#BAA040 #40BAA0 #A040BA
tetradic
#BAA040 #40BA63 #405ABA #BA4097
square
#BAA040 #40BA63 #405ABA #BA4097
split-complementary
#BAA040 #4097BA #6340BA
monochromatic
#5F5221 #8C7930 #BAA040 #CCB76B #DCCD99
Accessibility & contrast
On white
2.56
#BAA040 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#BAA040 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA040
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA040 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA040 | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09D35
Deuteranopia (green-blind)
#B7A545
Tritanopia (blue-blind)
#C8948C
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #baa040; /* rgb */ color: rgb(186, 160, 64); /* oklch */ color: oklch(71.1% 0.118 94.0);
Tailwind
colors: {
custom: {
50: '#d2bb79',
500: '#baa040',
950: '#000000',
},
}SCSS
$custom: #baa040; $custom-light: #d2bb79; $custom-dark: #000000;
JSON
{
"hex": "#baa040",
"rgb": {
"r": 186,
"g": 160,
"b": 64
},
"hsl": {
"h": 47.213,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.71062,
"c": 0.11824,
"h": 94
},
"luminance": 0.35951
}Semantic roles & 50–950 ramp
primary
#BAA040
secondary
#8E9AC8
accent
#6DD84F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B