#AFAFA2#AFAFA2

#AFAFA2 is a light, near-neutral grey. Relative luminance 0.424; OKLCH L 75.0% C 0.018 H 106.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#AFAFA2
RGBrgb(175, 175, 162)
HSLhsl(60, 8%, 66%)
HSVhsv(60, 7%, 69%)
CMYKcmyk(0%, 0%, 7.4%, 31.4%)
CIE-LABlab(71.13, -2.36, 6.67)
CIE-LCHlch(71.13, 7.07, 109.47°)
OKLaboklab(75.03% -0.0053 0.0174)
OKLCHoklch(75.03% 0.018 106.8)
XYZxyz(39.5299, 42.3827, 40.2736)
Luminance0.4238 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFA2 #A2A2AF
analogous
#AFA8A2 #AFAFA2 #A8AFA2
triadic
#AFAFA2 #A2AFAF #AFA2AF
tetradic
#AFAFA2 #A2AFA8 #A2A2AF #AFA2A8
square
#AFAFA2 #A2AFA8 #A2A2AF #AFA2A8
split-complementary
#AFAFA2 #A2A8AF #A8A2AF
monochromatic
#737363 #939381 #AFAFA2 #CBCBC3 #E8E8E4

Accessibility & contrast

On white

2.22
#AFAFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#AFAFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFA2
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFA2#FFFFFF#000000##000000
##AFAFA21.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2AEA1
Deuteranopia (green-blind)
#B2AEA2
Tritanopia (blue-blind)
#B1ADAB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afafa2;
/* rgb */ color: rgb(175, 175, 162);
/* oklch */ color: oklch(75.0% 0.018 106.8);
Tailwind
colors: {
  custom: {
    50: '#c6c6bd',
    500: '#afafa2',
    950: '#000000',
  },
}
SCSS
$custom: #afafa2;
$custom-light: #c6c6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#afafa2",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 162
  },
  "hsl": {
    "h": 60,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.75031,
    "c": 0.01822,
    "h": 106.8
  },
  "luminance": 0.42383
}

Semantic roles & 50–950 ramp

primary
#AFAFA2
secondary
#D4D4D9
accent
#549154
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131312
muted
#828281

Preview Lab

Preview with #AFAFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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