#BAB898#BAB898
#BAB898 is a light, muted yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.044 H 104.4°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB898 |
|---|---|
| RGB | rgb(186, 184, 152) |
| HSL | hsl(56, 20%, 66%) |
| HSV | hsv(56, 18%, 73%) |
| CMYK | cmyk(0%, 1.1%, 18.3%, 27.1%) |
| CIE-LAB | lab(74.18, -4.71, 16.55) |
| CIE-LCH | lch(74.18, 17.21, 105.88°) |
| OKLab | oklab(77.58% -0.0109 0.0425) |
| OKLCH | oklch(77.58% 0.044 104.4) |
| XYZ | xyz(43.0573, 46.9876, 36.5009) |
| Luminance | 0.4699 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 4.88
Stone (survey)
#ADA587
ΔE00 5.76
Putty
#BEAE8A
ΔE00 6.29
Sand
#C2B280
ΔE00 6.86
Cement
#A5A391
ΔE00 7.42
Khaki
#C3B091
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB898 #989ABA
analogous
#BAA798 #BAB898 #ABBA98
triadic
#BAB898 #98BAB8 #B898BA
tetradic
#BAB898 #98BAA7 #989ABA #BA98AB
square
#BAB898 #98BAA7 #989ABA #BA98AB
split-complementary
#BAB898 #98ABBA #A798BA
monochromatic
#817F56 #A19F73 #BAB898 #D3D1BD #EBEBE1
Accessibility & contrast
On white
2.02
#BAB898 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.40
#BAB898 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB898
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB898 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB898 | 1.00 | 2.02 | 10.40 | 10.40 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEB596
Deuteranopia (green-blind)
#BFB799
Tritanopia (blue-blind)
#BFB4AF
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #bab898; /* rgb */ color: rgb(186, 184, 152); /* oklch */ color: oklch(77.6% 0.044 104.4);
Tailwind
colors: {
custom: {
50: '#cfcdb6',
500: '#bab898',
950: '#000000',
},
}SCSS
$custom: #bab898; $custom-light: #cfcdb6; $custom-dark: #000000;
JSON
{
"hex": "#bab898",
"rgb": {
"r": 186,
"g": 184,
"b": 152
},
"hsl": {
"h": 56.471,
"s": 19.767,
"l": 66.275
},
"oklch": {
"l": 0.77576,
"c": 0.04385,
"h": 104.4
},
"luminance": 0.46987
}Semantic roles & 50–950 ramp
primary
#BAB898
secondary
#D1D2DC
accent
#4C9E47
background
#FCFCFB
surface
#F9F9F6
border
#D2D2D0
text
#131311
muted
#828280