#B2AFA2#B2AFA2
#B2AFA2 is a light, near-neutral yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.019 H 96.2°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AFA2 |
|---|---|
| RGB | rgb(178, 175, 162) |
| HSL | hsl(49, 9%, 67%) |
| HSV | hsv(49, 9%, 70%) |
| CMYK | cmyk(0%, 1.7%, 9%, 30.2%) |
| CIE-LAB | lab(71.37, -1.26, 7.04) |
| CIE-LCH | lch(71.37, 7.15, 100.15°) |
| OKLab | oklab(75.28% -0.002 0.0184) |
| OKLCH | oklch(75.28% 0.019 96.2) |
| XYZ | xyz(40.2109, 42.7338, 40.3055) |
| Luminance | 0.4273 (WCAG relative) |
| Temperature | neutral |
| Family | yellow |
Closest named colors
Greyish
#A8A495
ΔE00 3.30
Cement
#A5A391
ΔE00 4.33
Greige
#B8AB98
ΔE00 4.91
Stone
#A89F91
ΔE00 5.31
Warm Gray
#C9BEB0
ΔE00 5.99
Bland
#AFA88B
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AFA2 #A2A5B2
analogous
#B2A7A2 #B2AFA2 #ADB2A2
triadic
#B2AFA2 #A2B2AF #AFA2B2
tetradic
#B2AFA2 #A2B2A7 #A2A5B2 #B2A2AD
square
#B2AFA2 #A2B2A7 #A2A5B2 #B2A2AD
split-complementary
#B2AFA2 #A2ADB2 #A7A2B2
monochromatic
#777363 #969281 #B2AFA2 #CECCC3 #E9E9E5
Accessibility & contrast
On white
2.20
#B2AFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#B2AFA2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AFA2
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AFA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AFA2 | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2AEA1
Deuteranopia (green-blind)
#B3AFA2
Tritanopia (blue-blind)
#B5ADAB
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b2afa2; /* rgb */ color: rgb(178, 175, 162); /* oklch */ color: oklch(75.3% 0.019 96.2);
Tailwind
colors: {
custom: {
50: '#c9c6bd',
500: '#b2afa2',
950: '#000000',
},
}SCSS
$custom: #b2afa2; $custom-light: #c9c6bd; $custom-dark: #000000;
JSON
{
"hex": "#b2afa2",
"rgb": {
"r": 178,
"g": 175,
"b": 162
},
"hsl": {
"h": 48.75,
"s": 9.412,
"l": 66.667
},
"oklch": {
"l": 0.75278,
"c": 0.01853,
"h": 96.2
},
"luminance": 0.42734
}Semantic roles & 50–950 ramp
primary
#B2AFA2
secondary
#D5D6DA
accent
#5E9352
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131312
muted
#828281