#AFD186#AFD186

#AFD186 is a light, moderate yellow-green. Relative luminance 0.564; OKLCH L 81.8% C 0.106 H 128.4°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#AFD186
RGBrgb(175, 209, 134)
HSLhsl(87, 45%, 67%)
HSVhsv(87, 36%, 82%)
CMYKcmyk(16.3%, 0%, 35.9%, 18%)
CIE-LABlab(79.86, -24.13, 33.59)
CIE-LCHlch(79.86, 41.35, 125.69°)
OKLaboklab(81.79% -0.0659 0.0832)
OKLCHoklch(81.79% 0.106 128.4)
XYZxyz(44.7821, 56.4356, 31.0835)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD186 #A886D1
analogous
#D1CE86 #AFD186 #8AD186
triadic
#AFD186 #86AFD1 #D186AF
tetradic
#AFD186 #86D1CE #A886D1 #D1868A
square
#AFD186 #86D1CE #A886D1 #D1868A
split-complementary
#AFD186 #868AD1 #CE86D1
monochromatic
#73A03D #92C05A #AFD186 #CCE2B2 #EAF3DF

Accessibility & contrast

On white

1.71
#AFD186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#AFD186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD186
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD186#FFFFFF#000000##000000
##AFD1861.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C781
Deuteranopia (green-blind)
#D3C58A
Tritanopia (blue-blind)
#B2CBBE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd186;
/* rgb */ color: rgb(175, 209, 134);
/* oklch */ color: oklch(81.8% 0.106 128.4);
Tailwind
colors: {
  custom: {
    50: '#c8dfaa',
    500: '#afd186',
    950: '#000000',
  },
}
SCSS
$custom: #afd186;
$custom-light: #c8dfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afd186",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 134
  },
  "hsl": {
    "h": 87.2,
    "s": 44.91,
    "l": 67.255
  },
  "oklch": {
    "l": 0.81791,
    "c": 0.10609,
    "h": 128.4
  },
  "luminance": 0.56436
}

Semantic roles & 50–950 ramp

primary
#AFD186
secondary
#7A56A5
accent
#2DB86C
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD186

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

Preview Lab → · Contrast checker → · Palette generator →

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