#B2B2A2#B2B2A2

#B2B2A2 is a light, muted yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.022 H 106.9°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#B2B2A2
RGBrgb(178, 178, 162)
HSLhsl(60, 9%, 67%)
HSVhsv(60, 9%, 70%)
CMYKcmyk(0%, 0%, 9%, 30.2%)
CIE-LABlab(72.17, -2.87, 8.18)
CIE-LCHlch(72.17, 8.67, 109.32°)
OKLaboklab(75.91% -0.0065 0.0214)
OKLCHoklch(75.91% 0.022 106.9)
XYZxyz(40.8013, 43.9146, 40.5023)
Luminance0.4391 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B2A2 #A2A2B2
analogous
#B2AAA2 #B2B2A2 #AAB2A2
triadic
#B2B2A2 #A2B2B2 #B2A2B2
tetradic
#B2B2A2 #A2B2AA #A2A2B2 #B2A2AA
square
#B2B2A2 #A2B2AA #A2A2B2 #B2A2AA
split-complementary
#B2B2A2 #A2AAB2 #AAA2B2
monochromatic
#777763 #969681 #B2B2A2 #CECEC3 #E9E9E5

Accessibility & contrast

On white

2.15
#B2B2A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#B2B2A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B2A2
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B2A2#FFFFFF#000000##000000
##B2B2A21.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5B0A1
Deuteranopia (green-blind)
#B5B1A3
Tritanopia (blue-blind)
#B5B0AD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b2a2;
/* rgb */ color: rgb(178, 178, 162);
/* oklch */ color: oklch(75.9% 0.022 106.9);
Tailwind
colors: {
  custom: {
    50: '#c9c9bd',
    500: '#b2b2a2',
    950: '#000000',
  },
}
SCSS
$custom: #b2b2a2;
$custom-light: #c9c9bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b2a2",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 162
  },
  "hsl": {
    "h": 60,
    "s": 9.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.75907,
    "c": 0.02231,
    "h": 106.9
  },
  "luminance": 0.43914
}

Semantic roles & 50–950 ramp

primary
#B2B2A2
secondary
#D5D5DA
accent
#529352
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131312
muted
#828281

Preview Lab

Preview with #B2B2A2

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

Preview Lab → · Contrast checker → · Palette generator →

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