#BAB155#BAB155
#BAB155 is a light, moderate yellow. Relative luminance 0.425; OKLCH L 74.9% C 0.115 H 103.7°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB155 |
|---|---|
| RGB | rgb(186, 177, 85) |
| HSL | hsl(55, 42%, 53%) |
| HSV | hsv(55, 54%, 73%) |
| CMYK | cmyk(0%, 4.8%, 54.3%, 27.1%) |
| CIE-LAB | lab(71.24, -8.96, 47.53) |
| CIE-LCH | lch(71.24, 48.37, 100.67°) |
| OKLab | oklab(74.9% -0.0271 0.1113) |
| OKLCH | oklch(74.9% 0.115 103.7) |
| XYZ | xyz(37.6127, 42.5405, 14.8224) |
| Luminance | 0.4254 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.31
Khaki (survey)
#AAA662
ΔE00 5.38
Muddy Yellow
#BFAC05
ΔE00 7.11
Olive Yellow
#C2B709
ΔE00 7.19
Vomit
#A2A415
ΔE00 7.24
Desert
#CCAD60
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB155 #555EBA
analogous
#BA7E55 #BAB155 #91BA55
triadic
#BAB155 #55BAB1 #B155BA
tetradic
#BAB155 #55BA7E #555EBA #BA5591
square
#BAB155 #55BA7E #555EBA #BA5591
split-complementary
#BAB155 #5591BA #7E55BA
monochromatic
#6A642B #958D3D #BAB155 #CCC581 #DDD9AC
Accessibility & contrast
On white
2.21
#BAB155 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#BAB155 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB155
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB155 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB155 | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAC4C
Deuteranopia (green-blind)
#C2B15A
Tritanopia (blue-blind)
#C6A79C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bab155; /* rgb */ color: rgb(186, 177, 85); /* oklch */ color: oklch(74.9% 0.115 103.7);
Tailwind
colors: {
custom: {
50: '#d1c888',
500: '#bab155',
950: '#000000',
},
}SCSS
$custom: #bab155; $custom-light: #d1c888; $custom-dark: #000000;
JSON
{
"hex": "#bab155",
"rgb": {
"r": 186,
"g": 177,
"b": 85
},
"hsl": {
"h": 54.653,
"s": 42.259,
"l": 53.137
},
"oklch": {
"l": 0.74899,
"c": 0.11453,
"h": 103.7
},
"luminance": 0.42539
}Semantic roles & 50–950 ramp
primary
#BAB155
secondary
#A0A4CB
accent
#61D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C