#BAAA4E#BAAA4E
#BAAA4E is a light, moderate yellow. Relative luminance 0.397; OKLCH L 73.3% C 0.114 H 99.6°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #BAAA4E |
|---|---|
| RGB | rgb(186, 170, 78) |
| HSL | hsl(51, 44%, 52%) |
| HSV | hsv(51, 58%, 73%) |
| CMYK | cmyk(0%, 8.6%, 58.1%, 27.1%) |
| CIE-LAB | lab(69.28, -5.84, 48.61) |
| CIE-LCH | lch(69.28, 48.96, 96.85°) |
| OKLab | oklab(73.32% -0.019 0.1128) |
| OKLCH | oklch(73.32% 0.114 99.6) |
| XYZ | xyz(36.0009, 39.7401, 12.9805) |
| Luminance | 0.3974 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.22
Khaki (survey)
#AAA662
ΔE00 5.70
Desert
#CCAD60
ΔE00 5.75
Sandy Brown
#C4A661
ΔE00 6.23
Muddy Yellow
#BFAC05
ΔE00 6.25
Brownish Yellow
#C9B003
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAAA4E #4E5EBA
analogous
#BA744E #BAAA4E #94BA4E
triadic
#BAAA4E #4EBAAA #AA4EBA
tetradic
#BAAA4E #4EBA74 #4E5EBA #BA4E94
square
#BAAA4E #4EBA74 #4E5EBA #BA4E94
split-complementary
#BAAA4E #4E94BA #744EBA
monochromatic
#665D28 #928539 #BAAA4E #CBBF7A #DCD4A6
Accessibility & contrast
On white
2.35
#BAAA4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#BAAA4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAAA4E
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAAA4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAAA4E | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A645
Deuteranopia (green-blind)
#BDAC52
Tritanopia (blue-blind)
#C79F96
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #baaa4e; /* rgb */ color: rgb(186, 170, 78); /* oklch */ color: oklch(73.3% 0.114 99.6);
Tailwind
colors: {
custom: {
50: '#d1c383',
500: '#baaa4e',
950: '#000000',
},
}SCSS
$custom: #baaa4e; $custom-light: #d1c383; $custom-dark: #000000;
JSON
{
"hex": "#baaa4e",
"rgb": {
"r": 186,
"g": 170,
"b": 78
},
"hsl": {
"h": 51.111,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.73322,
"c": 0.11438,
"h": 99.6
},
"luminance": 0.39739
}Semantic roles & 50–950 ramp
primary
#BAAA4E
secondary
#9AA1CA
accent
#67D454
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C