#BAB498#BAB498
#BAB498 is a light, muted yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.039 H 97.2°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB498 |
|---|---|
| RGB | rgb(186, 180, 152) |
| HSL | hsl(49, 20%, 66%) |
| HSV | hsv(49, 18%, 73%) |
| CMYK | cmyk(0%, 3.2%, 18.3%, 27.1%) |
| CIE-LAB | lab(73.12, -2.59, 15.07) |
| CIE-LCH | lch(73.12, 15.29, 99.74°) |
| OKLab | oklab(76.74% -0.0049 0.0388) |
| OKLCH | oklch(76.74% 0.039 97.2) |
| XYZ | xyz(42.2382, 45.3492, 36.2279) |
| Luminance | 0.4535 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 3.41
Stone (survey)
#ADA587
ΔE00 4.34
Putty
#BEAE8A
ΔE00 4.68
Khaki
#C3B091
ΔE00 5.77
Greige
#B8AB98
ΔE00 5.92
Cement
#A5A391
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB498 #989EBA
analogous
#BAA398 #BAB498 #AFBA98
triadic
#BAB498 #98BAB4 #B498BA
tetradic
#BAB498 #98BAA3 #989EBA #BA98AF
square
#BAB498 #98BAA3 #989EBA #BA98AF
split-complementary
#BAB498 #98AFBA #A398BA
monochromatic
#817A56 #A19973 #BAB498 #D3CFBD #EBE9E1
Accessibility & contrast
On white
2.09
#BAB498 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.07
#BAB498 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB498
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB498 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB498 | 1.00 | 2.09 | 10.07 | 10.07 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAB296
Deuteranopia (green-blind)
#BCB599
Tritanopia (blue-blind)
#C0B0AC
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bab498; /* rgb */ color: rgb(186, 180, 152); /* oklch */ color: oklch(76.7% 0.039 97.2);
Tailwind
colors: {
custom: {
50: '#cfcab6',
500: '#bab498',
950: '#000000',
},
}SCSS
$custom: #bab498; $custom-light: #cfcab6; $custom-dark: #000000;
JSON
{
"hex": "#bab498",
"rgb": {
"r": 186,
"g": 180,
"b": 152
},
"hsl": {
"h": 49.412,
"s": 19.767,
"l": 66.275
},
"oklch": {
"l": 0.76739,
"c": 0.03909,
"h": 97.2
},
"luminance": 0.45349
}Semantic roles & 50–950 ramp
primary
#BAB498
secondary
#D1D3DC
accent
#579E47
background
#FCFCFB
surface
#F9F8F6
border
#D2D1D0
text
#131311
muted
#828280