#BAB577#BAB577
#BAB577 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.082 H 104.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB577 |
|---|---|
| RGB | rgb(186, 181, 119) |
| HSL | hsl(56, 33%, 60%) |
| HSV | hsv(56, 36%, 73%) |
| CMYK | cmyk(0%, 2.7%, 36%, 27.1%) |
| CIE-LAB | lab(72.77, -7.62, 32.26) |
| CIE-LCH | lch(72.77, 33.15, 103.29°) |
| OKLab | oklab(76.26% -0.0201 0.0795) |
| OKLCH | oklch(76.26% 0.082 104.2) |
| XYZ | xyz(40.1039, 44.8197, 23.9877) |
| Luminance | 0.4482 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.74
Khaki (survey)
#AAA662
ΔE00 4.64
Sand
#C2B280
ΔE00 4.68
Tan Green
#A9BE70
ΔE00 7.30
Light Olive
#ACBF69
ΔE00 7.32
Sandstone
#C9AE74
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB577 #777CBA
analogous
#BA9377 #BAB577 #9EBA77
triadic
#BAB577 #77BAB5 #B577BA
tetradic
#BAB577 #77BA93 #777CBA #BA779E
square
#BAB577 #77BA93 #777CBA #BA779E
split-complementary
#BAB577 #779EBA #9377BA
monochromatic
#79753D #A29C52 #BAB577 #CFCBA0 #E3E1C8
Accessibility & contrast
On white
2.11
#BAB577 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#BAB577 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB577
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB577 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB577 | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFB173
Deuteranopia (green-blind)
#C1B479
Tritanopia (blue-blind)
#C3ADA5
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bab577; /* rgb */ color: rgb(186, 181, 119); /* oklch */ color: oklch(76.3% 0.082 104.2);
Tailwind
colors: {
custom: {
50: '#d0cb9f',
500: '#bab577',
950: '#000000',
},
}SCSS
$custom: #bab577; $custom-light: #d0cb9f; $custom-dark: #000000;
JSON
{
"hex": "#bab577",
"rgb": {
"r": 186,
"g": 181,
"b": 119
},
"hsl": {
"h": 55.522,
"s": 32.683,
"l": 59.804
},
"oklch": {
"l": 0.76262,
"c": 0.08203,
"h": 104.2
},
"luminance": 0.44819
}Semantic roles & 50–950 ramp
primary
#BAB577
secondary
#B9BBD3
accent
#67C95F
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E