#BAA751#BAA751
#BAA751 is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.7% C 0.109 H 97.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA751 |
|---|---|
| RGB | rgb(186, 167, 81) |
| HSL | hsl(49, 43%, 52%) |
| HSV | hsv(49, 56%, 73%) |
| CMYK | cmyk(0%, 10.2%, 56.5%, 27.1%) |
| CIE-LAB | lab(68.51, -4.01, 46.29) |
| CIE-LCH | lch(68.51, 46.47, 94.96°) |
| OKLab | oklab(72.72% -0.0134 0.1082) |
| OKLCH | oklch(72.72% 0.109 97.1) |
| XYZ | xyz(35.5550, 38.6721, 13.3746) |
| Luminance | 0.3867 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.86
Sandy Brown
#C4A661
ΔE00 4.95
Khaki (survey)
#AAA662
ΔE00 5.64
Darkkhaki
#BDB76B
ΔE00 5.84
Tan (survey)
#D1B26F
ΔE00 6.75
Sandstone
#C9AE74
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA751 #5164BA
analogous
#BA7351 #BAA751 #98BA51
triadic
#BAA751 #51BAA7 #A751BA
tetradic
#BAA751 #51BA73 #5164BA #BA5198
square
#BAA751 #51BA73 #5164BA #BA5198
split-complementary
#BAA751 #5198BA #7351BA
monochromatic
#685C29 #93833A #BAA751 #CBBD7D #DDD3A9
Accessibility & contrast
On white
2.40
#BAA751 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#BAA751 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA751
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA751 | 1.00 | 2.40 | 8.73 | 8.73 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A349
Deuteranopia (green-blind)
#BBAA55
Tritanopia (blue-blind)
#C79C94
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #baa751; /* rgb */ color: rgb(186, 167, 81); /* oklch */ color: oklch(72.7% 0.109 97.1);
Tailwind
colors: {
custom: {
50: '#d1c084',
500: '#baa751',
950: '#000000',
},
}SCSS
$custom: #baa751; $custom-light: #d1c084; $custom-dark: #000000;
JSON
{
"hex": "#baa751",
"rgb": {
"r": 186,
"g": 167,
"b": 81
},
"hsl": {
"h": 49.143,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.72721,
"c": 0.10898,
"h": 97.1
},
"luminance": 0.38671
}Semantic roles & 50–950 ramp
primary
#BAA751
secondary
#9DA5CA
accent
#6CD355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C