#AFC8A1#AFC8A1

#AFC8A1 is a light, moderate yellow-green. Relative luminance 0.530; OKLCH L 80.4% C 0.060 H 134.4°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#AFC8A1
RGBrgb(175, 200, 161)
HSLhsl(98, 26%, 71%)
HSVhsv(98, 20%, 78%)
CMYKcmyk(12.5%, 0%, 19.5%, 21.6%)
CIE-LABlab(77.87, -15.60, 16.74)
CIE-LCHlch(77.87, 22.89, 132.98°)
OKLaboklab(80.36% -0.042 0.043)
OKLCHoklch(80.36% 0.06 134.4)
XYZxyz(44.7653, 52.9952, 41.5820)
Luminance0.5300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC8A1 #BAA1C8
analogous
#C2C8A1 #AFC8A1 #A1C8A6
triadic
#AFC8A1 #A1AFC8 #C8A1AF
tetradic
#AFC8A1 #A1C2C8 #BAA1C8 #C8A6A1
square
#AFC8A1 #A1C2C8 #BAA1C8 #C8A6A1
split-complementary
#AFC8A1 #A6A1C8 #C8A1C2
monochromatic
#6E9758 #8EB17A #AFC8A1 #D0DFC8 #EFF4EC

Accessibility & contrast

On white

1.81
#AFC8A1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#AFC8A1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC8A1
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC8A1#FFFFFF#000000##000000
##AFC8A11.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBC29F
Deuteranopia (green-blind)
#C7C0A3
Tritanopia (blue-blind)
#AFC5BD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afc8a1;
/* rgb */ color: rgb(175, 200, 161);
/* oklch */ color: oklch(80.4% 0.060 134.4);
Tailwind
colors: {
  custom: {
    50: '#c7d8bd',
    500: '#afc8a1',
    950: '#000000',
  },
}
SCSS
$custom: #afc8a1;
$custom-light: #c7d8bd;
$custom-dark: #000000;
JSON
{
  "hex": "#afc8a1",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 161
  },
  "hsl": {
    "h": 98.462,
    "s": 26.174,
    "l": 70.784
  },
  "oklch": {
    "l": 0.80363,
    "c": 0.06009,
    "h": 134.4
  },
  "luminance": 0.52996
}

Semantic roles & 50–950 ramp

primary
#AFC8A1
secondary
#8D719D
accent
#41A581
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131412
muted
#828382

Preview Lab

Preview with #AFC8A1

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

Preview Lab → · Contrast checker → · Palette generator →

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