#BAA545#BAA545
#BAA545 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.118 H 97.0°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA545 |
|---|---|
| RGB | rgb(186, 165, 69) |
| HSL | hsl(49, 46%, 50%) |
| HSV | hsv(49, 63%, 73%) |
| CMYK | cmyk(0%, 11.3%, 62.9%, 27.1%) |
| CIE-LAB | lab(67.86, -3.83, 51.18) |
| CIE-LCH | lch(67.86, 51.33, 94.28°) |
| OKLab | oklab(72.16% -0.0143 0.1171) |
| OKLCH | oklch(72.16% 0.118 97) |
| XYZ | xyz(34.7805, 37.7807, 11.0895) |
| Luminance | 0.3778 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 5.48
Sandy Brown
#C4A661
ΔE00 5.73
Muddy Yellow
#BFAC05
ΔE00 5.84
Brown Yellow
#B29705
ΔE00 5.88
Ocher
#BF9B0C
ΔE00 6.08
Dark Gold
#B59410
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA545 #455ABA
analogous
#BA6B45 #BAA545 #94BA45
triadic
#BAA545 #45BAA5 #A545BA
tetradic
#BAA545 #45BA6B #455ABA #BA4594
square
#BAA545 #45BA6B #455ABA #BA4594
split-complementary
#BAA545 #4594BA #6B45BA
monochromatic
#615624 #8D7D34 #BAA545 #CBBB72 #DBD09E
Accessibility & contrast
On white
2.45
#BAA545 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#BAA545 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA545
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA545 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA545 | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A13A
Deuteranopia (green-blind)
#BAA84A
Tritanopia (blue-blind)
#C89990
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #baa545; /* rgb */ color: rgb(186, 165, 69); /* oklch */ color: oklch(72.2% 0.118 97.0);
Tailwind
colors: {
custom: {
50: '#d2bf7d',
500: '#baa545',
950: '#000000',
},
}SCSS
$custom: #baa545; $custom-light: #d2bf7d; $custom-dark: #000000;
JSON
{
"hex": "#baa545",
"rgb": {
"r": 186,
"g": 165,
"b": 69
},
"hsl": {
"h": 49.231,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.72164,
"c": 0.11797,
"h": 97
},
"luminance": 0.37779
}Semantic roles & 50–950 ramp
primary
#BAA545
secondary
#939DC8
accent
#6AD652
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C