#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
RGBrgb(178, 175, 162)
HSLhsl(49, 9%, 67%)
HSVhsv(49, 9%, 70%)
CMYKcmyk(0%, 1.7%, 9%, 30.2%)
CIE-LABlab(71.37, -1.26, 7.04)
CIE-LCHlch(71.37, 7.15, 100.15°)
OKLaboklab(75.28% -0.002 0.0184)
OKLCHoklch(75.28% 0.019 96.2)
XYZxyz(40.2109, 42.7338, 40.3055)
Luminance0.4273 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

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
##B2AFA21.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.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

Preview Lab

Preview with #B2AFA2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B2AFA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva