#BAB080#BAB080
#BAB080 is a light, moderate yellow. Relative luminance 0.430; OKLCH L 75.4% C 0.066 H 97.8°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB080 |
|---|---|
| RGB | rgb(186, 176, 128) |
| HSL | hsl(50, 30%, 62%) |
| HSV | hsv(50, 31%, 73%) |
| CMYK | cmyk(0%, 5.4%, 31.2%, 27.1%) |
| CIE-LAB | lab(71.59, -3.87, 25.93) |
| CIE-LCH | lch(71.59, 26.22, 98.49°) |
| OKLab | oklab(75.37% -0.0088 0.0649) |
| OKLCH | oklch(75.37% 0.066 97.8) |
| XYZ | xyz(39.6717, 43.0492, 26.6374) |
| Luminance | 0.4305 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 2.28
Putty
#BEAE8A
ΔE00 4.43
Bland
#AFA88B
ΔE00 5.65
Stone (survey)
#ADA587
ΔE00 5.73
Sandstone
#C9AE74
ΔE00 5.82
Khaki (survey)
#AAA662
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB080 #808ABA
analogous
#BA9380 #BAB080 #A7BA80
triadic
#BAB080 #80BAB0 #B080BA
tetradic
#BAB080 #80BA93 #808ABA #BA80A7
square
#BAB080 #80BA93 #808ABA #BA80A7
split-complementary
#BAB080 #80A7BA #9380BA
monochromatic
#7C7243 #A49759 #BAB080 #D0C9A8 #E5E1CF
Accessibility & contrast
On white
2.19
#BAB080 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#BAB080 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB080
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB080 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB080 | 1.00 | 2.19 | 9.61 | 9.61 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9AD7D
Deuteranopia (green-blind)
#BCB182
Tritanopia (blue-blind)
#C3A9A3
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bab080; /* rgb */ color: rgb(186, 176, 128); /* oklch */ color: oklch(75.4% 0.066 97.8);
Tailwind
colors: {
custom: {
50: '#cfc7a5',
500: '#bab080',
950: '#000000',
},
}SCSS
$custom: #bab080; $custom-light: #cfc7a5; $custom-dark: #000000;
JSON
{
"hex": "#bab080",
"rgb": {
"r": 186,
"g": 176,
"b": 128
},
"hsl": {
"h": 49.655,
"s": 29.592,
"l": 61.569
},
"oklch": {
"l": 0.75374,
"c": 0.06554,
"h": 97.8
},
"luminance": 0.43048
}Semantic roles & 50–950 ramp
primary
#BAB080
secondary
#C0C4D6
accent
#50A83D
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#14130F
muted
#82827F