#AFAFA7#AFAFA7

#AFAFA7 is a light, near-neutral grey. Relative luminance 0.426; OKLCH L 75.2% C 0.011 H 106.6°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#AFAFA7
RGBrgb(175, 175, 167)
HSLhsl(60, 5%, 67%)
HSVhsv(60, 5%, 69%)
CMYKcmyk(0%, 0%, 4.6%, 31.4%)
CIE-LABlab(71.26, -1.47, 4.10)
CIE-LCHlch(71.26, 4.35, 109.74°)
OKLaboklab(75.17% -0.0032 0.0108)
OKLCHoklch(75.17% 0.011 106.6)
XYZxyz(39.9832, 42.5640, 42.6610)
Luminance0.4256 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFA7 #A7A7AF
analogous
#AFABA7 #AFAFA7 #ABAFA7
triadic
#AFAFA7 #A7AFAF #AFA7AF
tetradic
#AFAFA7 #A7AFAB #A7A7AF #AFA7AB
square
#AFAFA7 #A7AFAB #A7A7AF #AFA7AB
split-complementary
#AFAFA7 #A7ABAF #ABA7AF
monochromatic
#737369 #929287 #AFAFA7 #CCCCC7 #E9E9E7

Accessibility & contrast

On white

2.21
#AFAFA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#AFAFA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFA7
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFA7#FFFFFF#000000##000000
##AFAFA71.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1AEA7
Deuteranopia (green-blind)
#B1AFA7
Tritanopia (blue-blind)
#B0AEAD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afafa7;
/* rgb */ color: rgb(175, 175, 167);
/* oklch */ color: oklch(75.2% 0.011 106.6);
Tailwind
colors: {
  custom: {
    50: '#c6c6c1',
    500: '#afafa7',
    950: '#000000',
  },
}
SCSS
$custom: #afafa7;
$custom-light: #c6c6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#afafa7",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 167
  },
  "hsl": {
    "h": 60,
    "s": 4.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.75169,
    "c": 0.01124,
    "h": 106.6
  },
  "luminance": 0.42564
}

Semantic roles & 50–950 ramp

primary
#AFAFA7
secondary
#D8D8DA
accent
#578F57
background
#FCFCFB
surface
#F8F8F7
border
#D1D1D0
text
#131312
muted
#828281

Preview Lab

Preview with #AFAFA7

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

Preview Lab → · Contrast checker → · Palette generator →

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