#BAA151#BAA151
#BAA151 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.5% C 0.104 H 92.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA151 |
|---|---|
| RGB | rgb(186, 161, 81) |
| HSL | hsl(46, 43%, 52%) |
| HSV | hsv(46, 56%, 73%) |
| CMYK | cmyk(0%, 13.4%, 56.5%, 27.1%) |
| CIE-LAB | lab(66.92, -0.81, 44.44) |
| CIE-LCH | lch(66.92, 44.45, 91.04°) |
| OKLab | oklab(71.46% -0.0041 0.1041) |
| OKLCH | oklch(71.46% 0.104 92.3) |
| XYZ | xyz(34.4812, 36.5246, 13.0167) |
| Luminance | 0.3652 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 3.37
Desert
#CCAD60
ΔE00 4.31
Camel (survey)
#C69F59
ΔE00 5.18
Sand Brown
#CBA560
ΔE00 5.38
Sandstone
#C9AE74
ΔE00 6.11
Tan (survey)
#D1B26F
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA151 #516ABA
analogous
#BA6C51 #BAA151 #9FBA51
triadic
#BAA151 #51BAA1 #A151BA
tetradic
#BAA151 #51BA6C #516ABA #BA519F
square
#BAA151 #51BA6C #516ABA #BA519F
split-complementary
#BAA151 #519FBA #6C51BA
monochromatic
#685929 #937E3A #BAA151 #CBB97D #DDD0A9
Accessibility & contrast
On white
2.53
#BAA151 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#BAA151 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA151
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA151 | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09F49
Deuteranopia (green-blind)
#B6A654
Tritanopia (blue-blind)
#C8968F
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #baa151; /* rgb */ color: rgb(186, 161, 81); /* oklch */ color: oklch(71.5% 0.104 92.3);
Tailwind
colors: {
custom: {
50: '#d1bc84',
500: '#baa151',
950: '#000000',
},
}SCSS
$custom: #baa151; $custom-light: #d1bc84; $custom-dark: #000000;
JSON
{
"hex": "#baa151",
"rgb": {
"r": 186,
"g": 161,
"b": 81
},
"hsl": {
"h": 45.714,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.71461,
"c": 0.10422,
"h": 92.3
},
"luminance": 0.36523
}Semantic roles & 50–950 ramp
primary
#BAA151
secondary
#9DA7CA
accent
#73D355
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C