#AFAEA1#AFAEA1

#AFAEA1 is a light, near-neutral yellow. Relative luminance 0.420; OKLCH L 74.8% C 0.018 H 103.3°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#AFAEA1
RGBrgb(175, 174, 161)
HSLhsl(56, 8%, 66%)
HSVhsv(56, 8%, 69%)
CMYKcmyk(0%, 0.6%, 8%, 31.4%)
CIE-LABlab(70.84, -1.99, 6.80)
CIE-LCHlch(70.84, 7.08, 106.35°)
OKLaboklab(74.79% -0.0042 0.0178)
OKLCHoklch(74.79% 0.018 103.3)
XYZxyz(39.2474, 41.9595, 39.7427)
Luminance0.4196 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAEA1 #A1A2AF
analogous
#AFA7A1 #AFAEA1 #A9AFA1
triadic
#AFAEA1 #A1AFAE #AEA1AF
tetradic
#AFAEA1 #A1AFA7 #A1A2AF #AFA1A9
square
#AFAEA1 #A1AFA7 #A1A2AF #AFA1A9
split-complementary
#AFAEA1 #A1A9AF #A7A1AF
monochromatic
#737262 #939280 #AFAEA1 #CBCAC2 #E7E7E3

Accessibility & contrast

On white

2.24
#AFAEA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#AFAEA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAEA1
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAEA1#FFFFFF#000000##000000
##AFAEA11.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1ADA0
Deuteranopia (green-blind)
#B1AEA1
Tritanopia (blue-blind)
#B1ACAA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afaea1;
/* rgb */ color: rgb(175, 174, 161);
/* oklch */ color: oklch(74.8% 0.018 103.3);
Tailwind
colors: {
  custom: {
    50: '#c6c6bc',
    500: '#afaea1',
    950: '#000000',
  },
}
SCSS
$custom: #afaea1;
$custom-light: #c6c6bc;
$custom-dark: #000000;
JSON
{
  "hex": "#afaea1",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 161
  },
  "hsl": {
    "h": 55.714,
    "s": 8.046,
    "l": 65.882
  },
  "oklch": {
    "l": 0.74793,
    "c": 0.01827,
    "h": 103.3
  },
  "luminance": 0.41959
}

Semantic roles & 50–950 ramp

primary
#AFAEA1
secondary
#D4D4D8
accent
#589253
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131312
muted
#828281

Preview Lab

Preview with #AFAEA1

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

Preview Lab → · Contrast checker → · Palette generator →

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