#BABA98#BABA98
#BABA98 is a light, muted yellow. Relative luminance 0.478; OKLCH L 78.0% C 0.046 H 107.4°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #BABA98 |
|---|---|
| RGB | rgb(186, 186, 152) |
| HSL | hsl(60, 20%, 66%) |
| HSV | hsv(60, 18%, 73%) |
| CMYK | cmyk(0%, 0%, 18.3%, 27.1%) |
| CIE-LAB | lab(74.71, -5.76, 17.29) |
| CIE-LCH | lch(74.71, 18.23, 108.43°) |
| OKLab | oklab(78% -0.0139 0.0443) |
| OKLCH | oklch(78% 0.046 107.4) |
| XYZ | xyz(43.4757, 47.8244, 36.6404) |
| Luminance | 0.4782 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 5.80
Stone (survey)
#ADA587
ΔE00 6.63
Putty
#BEAE8A
ΔE00 7.16
Sand
#C2B280
ΔE00 7.19
Sage Green
#9CAF88
ΔE00 7.88
Cement
#A5A391
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABA98 #9898BA
analogous
#BAA998 #BABA98 #A9BA98
triadic
#BABA98 #98BABA #BA98BA
tetradic
#BABA98 #98BAA9 #9898BA #BA98A9
square
#BABA98 #98BAA9 #9898BA #BA98A9
split-complementary
#BABA98 #98A9BA #A998BA
monochromatic
#818156 #A1A173 #BABA98 #D3D3BD #EBEBE1
Accessibility & contrast
On white
1.99
#BABA98 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.56
#BABA98 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABA98
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABA98 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABA98 | 1.00 | 1.99 | 10.56 | 10.56 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0B796
Deuteranopia (green-blind)
#C1B999
Tritanopia (blue-blind)
#BFB5B1
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #baba98; /* rgb */ color: rgb(186, 186, 152); /* oklch */ color: oklch(78.0% 0.046 107.4);
Tailwind
colors: {
custom: {
50: '#cfceb6',
500: '#baba98',
950: '#000000',
},
}SCSS
$custom: #baba98; $custom-light: #cfceb6; $custom-dark: #000000;
JSON
{
"hex": "#baba98",
"rgb": {
"r": 186,
"g": 186,
"b": 152
},
"hsl": {
"h": 60,
"s": 19.767,
"l": 66.275
},
"oklch": {
"l": 0.77996,
"c": 0.04643,
"h": 107.4
},
"luminance": 0.47824
}Semantic roles & 50–950 ramp
primary
#BABA98
secondary
#D1D1DC
accent
#479E47
background
#FCFCFB
surface
#F9F9F6
border
#D2D2D0
text
#131311
muted
#828280