#BAB154#BAB154
#BAB154 is a light, moderate yellow. Relative luminance 0.425; OKLCH L 74.9% C 0.115 H 103.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB154 |
|---|---|
| RGB | rgb(186, 177, 84) |
| HSL | hsl(55, 43%, 53%) |
| HSV | hsv(55, 55%, 73%) |
| CMYK | cmyk(0%, 4.8%, 54.8%, 27.1%) |
| CIE-LAB | lab(71.23, -9.04, 48.00) |
| CIE-LCH | lch(71.23, 48.84, 100.66°) |
| OKLab | oklab(74.89% -0.0275 0.1122) |
| OKLCH | oklch(74.89% 0.115 103.8) |
| XYZ | xyz(37.5732, 42.5247, 14.6147) |
| Luminance | 0.4252 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.43
Khaki (survey)
#AAA662
ΔE00 5.49
Muddy Yellow
#BFAC05
ΔE00 6.98
Olive Yellow
#C2B709
ΔE00 7.05
Vomit
#A2A415
ΔE00 7.14
Puke
#A5A502
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB154 #545DBA
analogous
#BA7E54 #BAB154 #90BA54
triadic
#BAB154 #54BAB1 #B154BA
tetradic
#BAB154 #54BA7E #545DBA #BA5490
square
#BAB154 #54BA7E #545DBA #BA5490
split-complementary
#BAB154 #5490BA #7E54BA
monochromatic
#69642A #958D3C #BAB154 #CCC580 #DDD9AB
Accessibility & contrast
On white
2.21
#BAB154 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#BAB154 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB154
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB154 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB154 | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAC4B
Deuteranopia (green-blind)
#C2B159
Tritanopia (blue-blind)
#C6A69C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bab154; /* rgb */ color: rgb(186, 177, 84); /* oklch */ color: oklch(74.9% 0.115 103.8);
Tailwind
colors: {
custom: {
50: '#d1c887',
500: '#bab154',
950: '#000000',
},
}SCSS
$custom: #bab154; $custom-light: #d1c887; $custom-dark: #000000;
JSON
{
"hex": "#bab154",
"rgb": {
"r": 186,
"g": 177,
"b": 84
},
"hsl": {
"h": 54.706,
"s": 42.5,
"l": 52.941
},
"oklch": {
"l": 0.74887,
"c": 0.11548,
"h": 103.8
},
"luminance": 0.42523
}Semantic roles & 50–950 ramp
primary
#BAB154
secondary
#9FA3CB
accent
#61D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C