#B2AFA1#B2AFA1
#B2AFA1 is a light, near-neutral yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.020 H 97.0°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AFA1 |
|---|---|
| RGB | rgb(178, 175, 161) |
| HSL | hsl(49, 10%, 66%) |
| HSV | hsv(49, 10%, 70%) |
| CMYK | cmyk(0%, 1.7%, 9.6%, 30.2%) |
| CIE-LAB | lab(71.35, -1.43, 7.56) |
| CIE-LCH | lch(71.35, 7.69, 100.73°) |
| OKLab | oklab(75.25% -0.0024 0.0197) |
| OKLCH | oklch(75.25% 0.02 97) |
| XYZ | xyz(40.1224, 42.6984, 39.8392) |
| Luminance | 0.4270 (WCAG relative) |
| Temperature | neutral |
| Family | yellow |
Closest named colors
Greyish
#A8A495
ΔE00 3.21
Cement
#A5A391
ΔE00 4.11
Greige
#B8AB98
ΔE00 4.86
Stone
#A89F91
ΔE00 5.36
Bland
#AFA88B
ΔE00 5.86
Warm Gray
#C9BEB0
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AFA1 #A1A4B2
analogous
#B2A7A1 #B2AFA1 #ADB2A1
triadic
#B2AFA1 #A1B2AF #AFA1B2
tetradic
#B2AFA1 #A1B2A7 #A1A4B2 #B2A1AD
square
#B2AFA1 #A1B2A7 #A1A4B2 #B2A1AD
split-complementary
#B2AFA1 #A1ADB2 #A7A1B2
monochromatic
#777362 #96927F #B2AFA1 #CECCC3 #E9E8E4
Accessibility & contrast
On white
2.20
#B2AFA1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#B2AFA1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AFA1
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AFA1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AFA1 | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2AEA0
Deuteranopia (green-blind)
#B3AFA1
Tritanopia (blue-blind)
#B5ADAB
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b2afa1; /* rgb */ color: rgb(178, 175, 161); /* oklch */ color: oklch(75.3% 0.020 97.0);
Tailwind
colors: {
custom: {
50: '#c9c6bc',
500: '#b2afa1',
950: '#000000',
},
}SCSS
$custom: #b2afa1; $custom-light: #c9c6bc; $custom-dark: #000000;
JSON
{
"hex": "#b2afa1",
"rgb": {
"r": 178,
"g": 175,
"b": 161
},
"hsl": {
"h": 49.412,
"s": 9.942,
"l": 66.471
},
"oklch": {
"l": 0.75252,
"c": 0.01989,
"h": 97
},
"luminance": 0.42698
}Semantic roles & 50–950 ramp
primary
#B2AFA1
secondary
#D5D6DA
accent
#5D9452
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131312
muted
#828281