#AFB2AF#AFB2AF

#AFB2AF is a light, near-neutral grey. Relative luminance 0.441; OKLCH L 76.0% C 0.005 H 145.5°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#AFB2AF
RGBrgb(175, 178, 175)
HSLhsl(120, 2%, 69%)
HSVhsv(120, 2%, 70%)
CMYKcmyk(1.7%, 0%, 1.7%, 30.2%)
CIE-LABlab(72.26, -1.62, 1.16)
CIE-LCHlch(72.26, 1.99, 144.35°)
OKLaboklab(76.03% -0.0044 0.0031)
OKLCHoklch(76.03% 0.005 145.5)
XYZxyz(41.3361, 44.0498, 46.8739)
Luminance0.4405 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB2AF #B2AFB2
analogous
#B1B2AF #AFB2AF #AFB2B1
triadic
#AFB2AF #AFAFB2 #B2AFAF
tetradic
#AFB2AF #AFB1B2 #B2AFB2 #B2B1AF
square
#AFB2AF #AFB1B2 #B2AFB2 #B2B1AF
split-complementary
#AFB2AF #B1AFB2 #B2AFB1
monochromatic
#717671 #909490 #AFB2AF #CED0CE #EDEEED

Accessibility & contrast

On white

2.14
#AFB2AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#AFB2AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB2AF
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB2AF#FFFFFF#000000##000000
##AFB2AF1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2B1AF
Deuteranopia (green-blind)
#B2B1AF
Tritanopia (blue-blind)
#AFB2B1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb2af;
/* rgb */ color: rgb(175, 178, 175);
/* oklch */ color: oklch(76.0% 0.005 145.5);
Tailwind
colors: {
  custom: {
    50: '#c6c9c6',
    500: '#afb2af',
    950: '#000000',
  },
}
SCSS
$custom: #afb2af;
$custom-light: #c6c9c6;
$custom-dark: #000000;
JSON
{
  "hex": "#afb2af",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 175
  },
  "hsl": {
    "h": 120,
    "s": 1.911,
    "l": 69.216
  },
  "oklch": {
    "l": 0.76028,
    "c": 0.00539,
    "h": 145.5
  },
  "luminance": 0.4405
}

Semantic roles & 50–950 ramp

primary
#AFB2AF
secondary
#DFDEDF
accent
#5A8C8C
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#131313
muted
#828282

Preview Lab

Preview with #AFB2AF

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

Preview Lab → · Contrast checker → · Palette generator →

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