#BAA951#BAA951
#BAA951 is a light, moderate yellow. Relative luminance 0.394; OKLCH L 73.1% C 0.111 H 98.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA951 |
|---|---|
| RGB | rgb(186, 169, 81) |
| HSL | hsl(50, 43%, 52%) |
| HSV | hsv(50, 56%, 73%) |
| CMYK | cmyk(0%, 9.1%, 56.5%, 27.1%) |
| CIE-LAB | lab(69.05, -5.08, 46.91) |
| CIE-LCH | lch(69.05, 47.18, 96.17°) |
| OKLab | oklab(73.14% -0.0164 0.1095) |
| OKLCH | oklch(73.14% 0.111 98.5) |
| XYZ | xyz(35.9242, 39.4106, 13.4977) |
| Luminance | 0.3941 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.25
Desert
#CCAD60
ΔE00 5.29
Khaki (survey)
#AAA662
ΔE00 5.45
Sandy Brown
#C4A661
ΔE00 5.60
Muddy Yellow
#BFAC05
ΔE00 6.79
Tan (survey)
#D1B26F
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA951 #5162BA
analogous
#BA7551 #BAA951 #96BA51
triadic
#BAA951 #51BAA9 #A951BA
tetradic
#BAA951 #51BA75 #5162BA #BA5196
square
#BAA951 #51BA75 #5162BA #BA5196
split-complementary
#BAA951 #5196BA #7551BA
monochromatic
#685D29 #93853A #BAA951 #CBBF7D #DDD4A9
Accessibility & contrast
On white
2.36
#BAA951 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#BAA951 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA951
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA951 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA951 | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A548
Deuteranopia (green-blind)
#BCAB55
Tritanopia (blue-blind)
#C79E95
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #baa951; /* rgb */ color: rgb(186, 169, 81); /* oklch */ color: oklch(73.1% 0.111 98.5);
Tailwind
colors: {
custom: {
50: '#d1c285',
500: '#baa951',
950: '#000000',
},
}SCSS
$custom: #baa951; $custom-light: #d1c285; $custom-dark: #000000;
JSON
{
"hex": "#baa951",
"rgb": {
"r": 186,
"g": 169,
"b": 81
},
"hsl": {
"h": 50.286,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.73144,
"c": 0.11072,
"h": 98.5
},
"luminance": 0.39409
}Semantic roles & 50–950 ramp
primary
#BAA951
secondary
#9DA4CA
accent
#69D355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C