#AFAFAA#AFAFAA

#AFAFAA is a light, near-neutral grey. Relative luminance 0.427; OKLCH L 75.3% C 0.007 H 106.6°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#AFAFAA
RGBrgb(175, 175, 170)
HSLhsl(60, 3%, 68%)
HSVhsv(60, 3%, 69%)
CMYKcmyk(0%, 0%, 2.9%, 31.4%)
CIE-LABlab(71.33, -0.93, 2.56)
CIE-LCHlch(71.33, 2.72, 109.91°)
OKLaboklab(75.26% -0.002 0.0068)
OKLCHoklch(75.26% 0.007 106.6)
XYZxyz(40.2637, 42.6763, 44.1386)
Luminance0.4268 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFAA #AAAAAF
analogous
#AFACAA #AFAFAA #ACAFAA
triadic
#AFAFAA #AAAFAF #AFAAAF
tetradic
#AFAFAA #AAAFAC #AAAAAF #AFAAAC
square
#AFAFAA #AAAFAC #AAAAAF #AFAAAC
split-complementary
#AFAFAA #AAACAF #ACAAAF
monochromatic
#73736C #91918A #AFAFAA #CDCDCA #EAEAE9

Accessibility & contrast

On white

2.20
#AFAFAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#AFAFAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFAA
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFAA#FFFFFF#000000##000000
##AFAFAA1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0AFAA
Deuteranopia (green-blind)
#B0AFAA
Tritanopia (blue-blind)
#B0AEAE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afafaa;
/* rgb */ color: rgb(175, 175, 170);
/* oklch */ color: oklch(75.3% 0.007 106.6);
Tailwind
colors: {
  custom: {
    50: '#c6c6c3',
    500: '#afafaa',
    950: '#000000',
  },
}
SCSS
$custom: #afafaa;
$custom-light: #c6c6c3;
$custom-dark: #000000;
JSON
{
  "hex": "#afafaa",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 170
  },
  "hsl": {
    "h": 60,
    "s": 3.03,
    "l": 67.647
  },
  "oklch": {
    "l": 0.75255,
    "c": 0.00704,
    "h": 106.6
  },
  "luminance": 0.42676
}

Semantic roles & 50–950 ramp

primary
#AFAFAA
secondary
#DADADB
accent
#598D59
background
#FCFCFB
surface
#F8F8F7
border
#D1D1D0
text
#131312
muted
#828281

Preview Lab

Preview with #AFAFAA

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

Preview Lab → · Contrast checker → · Palette generator →

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