#AFAFAF#AFAFAF

#AFAFAF is a light, near-neutral grey. Relative luminance 0.429; OKLCH L 75.4% C 0.000 H 0.0°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#AFAFAF
RGBrgb(175, 175, 175)
HSLhsl(0, 0%, 69%)
HSVhsv(0, 0%, 69%)
CMYKcmyk(0%, 0%, 0%, 31.4%)
CIE-LABlab(71.47, -0.00, 0.00)
CIE-LCHlch(71.47, 0.00, 161.57°)
OKLaboklab(75.4% 0 0)
OKLCHoklch(75.4% 0 0)
XYZxyz(40.7457, 42.8691, 46.6771)
Luminance0.4287 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFAF #AFAFAF
analogous
#AFAFAF #AFAFAF #AFAFAF
triadic
#AFAFAF #AFAFAF #AFAFAF
tetradic
#AFAFAF #AFAFAF #AFAFAF #AFAFAF
square
#AFAFAF #AFAFAF #AFAFAF #AFAFAF
split-complementary
#AFAFAF #AFAFAF #AFAFAF
monochromatic
#727272 #909090 #AFAFAF #CECECE #ECECEC

Accessibility & contrast

On white

2.19
#AFAFAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#AFAFAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFAF
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFAF#FFFFFF#000000##000000
##AFAFAF1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afafaf;
/* rgb */ color: rgb(175, 175, 175);
/* oklch */ color: oklch(75.4% 0.000 0.0);
Tailwind
colors: {
  custom: {
    50: '#c6c6c6',
    500: '#afafaf',
    950: '#000000',
  },
}
SCSS
$custom: #afafaf;
$custom-light: #c6c6c6;
$custom-dark: #000000;
JSON
{
  "hex": "#afafaf",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 175
  },
  "hsl": {
    "h": 0,
    "s": 0,
    "l": 68.627
  },
  "oklch": {
    "l": 0.75402,
    "c": 0,
    "h": 0
  },
  "luminance": 0.42869
}

Semantic roles & 50–950 ramp

primary
#AFAFAF
secondary
#DDDDDD
accent
#8A8A5C
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#131313
muted
#828282

Preview Lab

Preview with #AFAFAF

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

Preview Lab → · Contrast checker → · Palette generator →

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