#BAB296#BAB296
#BAB296 is a light, muted yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.040 H 93.9°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB296 |
|---|---|
| RGB | rgb(186, 178, 150) |
| HSL | hsl(47, 21%, 66%) |
| HSV | hsv(47, 19%, 73%) |
| CMYK | cmyk(0%, 4.3%, 19.4%, 27.1%) |
| CIE-LAB | lab(72.55, -1.83, 15.36) |
| CIE-LCH | lch(72.55, 15.47, 96.79°) |
| OKLab | oklab(76.27% -0.0027 0.0395) |
| OKLCH | oklch(76.27% 0.04 93.9) |
| XYZ | xyz(41.6749, 44.4826, 35.2388) |
| Luminance | 0.4448 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 3.00
Putty
#BEAE8A
ΔE00 3.83
Stone (survey)
#ADA587
ΔE00 3.84
Khaki
#C3B091
ΔE00 4.82
Greige
#B8AB98
ΔE00 5.09
Cement
#A5A391
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB296 #969EBA
analogous
#BAA096 #BAB296 #B0BA96
triadic
#BAB296 #96BAB2 #B296BA
tetradic
#BAB296 #96BAA0 #969EBA #BA96B0
square
#BAB296 #96BAA0 #969EBA #BA96B0
split-complementary
#BAB296 #96B0BA #A096BA
monochromatic
#817755 #A29771 #BAB296 #D2CDBB #EBE8E0
Accessibility & contrast
On white
2.12
#BAB296 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#BAB296 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB296
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB296 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB296 | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8B094
Deuteranopia (green-blind)
#BBB397
Tritanopia (blue-blind)
#C0AEAA
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #bab296; /* rgb */ color: rgb(186, 178, 150); /* oklch */ color: oklch(76.3% 0.040 93.9);
Tailwind
colors: {
custom: {
50: '#cfc9b5',
500: '#bab296',
950: '#000000',
},
}SCSS
$custom: #bab296; $custom-light: #cfc9b5; $custom-dark: #000000;
JSON
{
"hex": "#bab296",
"rgb": {
"r": 186,
"g": 178,
"b": 150
},
"hsl": {
"h": 46.667,
"s": 20.69,
"l": 65.882
},
"oklch": {
"l": 0.76274,
"c": 0.03958,
"h": 93.9
},
"luminance": 0.44482
}Semantic roles & 50–950 ramp
primary
#BAB296
secondary
#D0D3DC
accent
#5A9F46
background
#FCFCFB
surface
#F9F8F6
border
#D2D1D0
text
#131311
muted
#828280