#AFE386#AFE386

#AFE386 is a very light, vivid yellow-green. Relative luminance 0.658; OKLCH L 85.8% C 0.133 H 132.4°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#AFE386
RGBrgb(175, 227, 134)
HSLhsl(94, 62%, 71%)
HSVhsv(94, 41%, 89%)
CMYKcmyk(22.9%, 0%, 41%, 11%)
CIE-LABlab(84.88, -32.69, 40.08)
CIE-LCHlch(84.88, 51.72, 129.20°)
OKLaboklab(85.83% -0.0897 0.0982)
OKLCHoklch(85.83% 0.133 132.4)
XYZxyz(49.4504, 65.7722, 32.6396)
Luminance0.6577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE386 #BA86E3
analogous
#DEE386 #AFE386 #86E38B
triadic
#AFE386 #86AFE3 #E386AF
tetradic
#AFE386 #86DEE3 #BA86E3 #E38B86
square
#AFE386 #86DEE3 #BA86E3 #E38B86
split-complementary
#AFE386 #8B86E3 #E386DE
monochromatic
#6EC22D #8ED754 #AFE386 #D0EFB8 #EFF9E6

Accessibility & contrast

On white

1.48
#AFE386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#AFE386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE386
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE386#FFFFFF#000000##000000
##AFE3861.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD77F
Deuteranopia (green-blind)
#E2D38B
Tritanopia (blue-blind)
#B0DCCC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe386;
/* rgb */ color: rgb(175, 227, 134);
/* oklch */ color: oklch(85.8% 0.133 132.4);
Tailwind
colors: {
  custom: {
    50: '#c8ecaa',
    500: '#afe386',
    950: '#000000',
  },
}
SCSS
$custom: #afe386;
$custom-light: #c8ecaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afe386",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 134
  },
  "hsl": {
    "h": 93.548,
    "s": 62.416,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85827,
    "c": 0.13299,
    "h": 132.4
  },
  "luminance": 0.65773
}

Semantic roles & 50–950 ramp

primary
#AFE386
secondary
#8D52BB
accent
#1BCA7D
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE386

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

Preview Lab → · Contrast checker → · Palette generator →

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