#AFE186#AFE186

#AFE186 is a very light, vivid yellow-green. Relative luminance 0.647; OKLCH L 85.4% C 0.130 H 132.1°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#AFE186
RGBrgb(175, 225, 134)
HSLhsl(93, 60%, 70%)
HSVhsv(93, 40%, 88%)
CMYKcmyk(22.2%, 0%, 40.4%, 11.8%)
CIE-LABlab(84.32, -31.75, 39.36)
CIE-LCHlch(84.32, 50.57, 128.89°)
OKLaboklab(85.38% -0.0871 0.0965)
OKLCHoklch(85.38% 0.13 132.1)
XYZxyz(48.9066, 64.6845, 32.4583)
Luminance0.6469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE186 #B886E1
analogous
#DCE186 #AFE186 #86E18A
triadic
#AFE186 #86AFE1 #E186AF
tetradic
#AFE186 #86DCE1 #B886E1 #E18A86
square
#AFE186 #86DCE1 #B886E1 #E18A86
split-complementary
#AFE186 #8A86E1 #E186DC
monochromatic
#6FBE2F #8FD555 #AFE186 #CFEDB7 #EFF9E6

Accessibility & contrast

On white

1.51
#AFE186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#AFE186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE186
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE186#FFFFFF#000000##000000
##AFE1861.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D57F
Deuteranopia (green-blind)
#E1D18B
Tritanopia (blue-blind)
#B1DACB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe186;
/* rgb */ color: rgb(175, 225, 134);
/* oklch */ color: oklch(85.4% 0.130 132.1);
Tailwind
colors: {
  custom: {
    50: '#c8eaaa',
    500: '#afe186',
    950: '#000000',
  },
}
SCSS
$custom: #afe186;
$custom-light: #c8eaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afe186",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 134
  },
  "hsl": {
    "h": 92.967,
    "s": 60.265,
    "l": 70.392
  },
  "oklch": {
    "l": 0.85376,
    "c": 0.13004,
    "h": 132.1
  },
  "luminance": 0.64686
}

Semantic roles & 50–950 ramp

primary
#AFE186
secondary
#8B52B9
accent
#1EC87B
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE186

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

Preview Lab → · Contrast checker → · Palette generator →

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