#AFBAAF#AFBAAF

#AFBAAF is a light, near-neutral grey. Relative luminance 0.473; OKLCH L 77.7% C 0.020 H 145.4°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#AFBAAF
RGBrgb(175, 186, 175)
HSLhsl(120, 7%, 71%)
HSVhsv(120, 6%, 73%)
CMYKcmyk(5.9%, 0%, 5.9%, 27.1%)
CIE-LABlab(74.40, -5.89, 4.26)
CIE-LCHlch(74.40, 7.27, 144.11°)
OKLaboklab(77.71% -0.0161 0.0111)
OKLCHoklch(77.71% 0.02 145.4)
XYZxyz(42.9745, 47.3266, 47.4200)
Luminance0.4733 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBAAF #BAAFBA
analogous
#B4BAAF #AFBAAF #AFBAB4
triadic
#AFBAAF #AFAFBA #BAAFAF
tetradic
#AFBAAF #AFB4BA #BAAFBA #BAB4AF
square
#AFBAAF #AFB4BA #BAAFBA #BAB4AF
split-complementary
#AFBAAF #B4AFBA #BAAFB4
monochromatic
#6E806E #8E9E8E #AFBAAF #D0D6D0 #EFF1EF

Accessibility & contrast

On white

2.01
#AFBAAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#AFBAAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBAAF
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBAAF#FFFFFF#000000##000000
##AFBAAF1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBB8AE
Deuteranopia (green-blind)
#B9B6AF
Tritanopia (blue-blind)
#AEB9B7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbaaf;
/* rgb */ color: rgb(175, 186, 175);
/* oklch */ color: oklch(77.7% 0.020 145.4);
Tailwind
colors: {
  custom: {
    50: '#c6cec6',
    500: '#afbaaf',
    950: '#000000',
  },
}
SCSS
$custom: #afbaaf;
$custom-light: #c6cec6;
$custom-dark: #000000;
JSON
{
  "hex": "#afbaaf",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 175
  },
  "hsl": {
    "h": 120,
    "s": 7.383,
    "l": 70.784
  },
  "oklch": {
    "l": 0.77712,
    "c": 0.01961,
    "h": 145.4
  },
  "luminance": 0.47327
}

Semantic roles & 50–950 ramp

primary
#AFBAAF
secondary
#E4E1E4
accent
#549191
background
#FCFCFC
surface
#F8F9F8
border
#D1D2D1
text
#131313
muted
#828282

Preview Lab

Preview with #AFBAAF

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

Preview Lab → · Contrast checker → · Palette generator →

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