#AFABA2#AFABA2

#AFABA2 is a light, near-neutral grey. Relative luminance 0.408; OKLCH L 74.2% C 0.014 H 86.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#AFABA2
RGBrgb(175, 171, 162)
HSLhsl(42, 8%, 66%)
HSVhsv(42, 7%, 69%)
CMYKcmyk(0%, 2.3%, 7.4%, 31.4%)
CIE-LABlab(70.07, -0.20, 5.14)
CIE-LCHlch(70.07, 5.14, 92.22°)
OKLaboklab(74.19% 0.0007 0.0135)
OKLCHoklch(74.19% 0.014 86.9)
XYZxyz(38.7629, 40.8487, 40.0179)
Luminance0.4085 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABA2 #A2A6AF
analogous
#AFA4A2 #AFABA2 #ACAFA2
triadic
#AFABA2 #A2AFAB #ABA2AF
tetradic
#AFABA2 #A2AFA4 #A2A6AF #AFA2AC
square
#AFABA2 #A2AFA4 #A2A6AF #AFA2AC
split-complementary
#AFABA2 #A2ACAF #A4A2AF
monochromatic
#736E63 #938D81 #AFABA2 #CBC9C3 #E8E6E4

Accessibility & contrast

On white

2.29
#AFABA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#AFABA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABA2
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABA2#FFFFFF#000000##000000
##AFABA21.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADABA1
Deuteranopia (green-blind)
#AEACA2
Tritanopia (blue-blind)
#B1A9A8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afaba2;
/* rgb */ color: rgb(175, 171, 162);
/* oklch */ color: oklch(74.2% 0.014 86.9);
Tailwind
colors: {
  custom: {
    50: '#c6c4bd',
    500: '#afaba2',
    950: '#000000',
  },
}
SCSS
$custom: #afaba2;
$custom-light: #c6c4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#afaba2",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 162
  },
  "hsl": {
    "h": 41.538,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.74193,
    "c": 0.01351,
    "h": 86.9
  },
  "luminance": 0.40848
}

Semantic roles & 50–950 ramp

primary
#AFABA2
secondary
#D4D6D9
accent
#679154
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFABA2

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

Preview Lab → · Contrast checker → · Palette generator →

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