#AFE86B#AFE86B

#AFE86B is a very light, vivid yellow-green. Relative luminance 0.679; OKLCH L 86.6% C 0.166 H 129.7°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#AFE86B
RGBrgb(175, 232, 107)
HSLhsl(87, 73%, 66%)
HSVhsv(87, 54%, 91%)
CMYKcmyk(24.6%, 0%, 53.9%, 9%)
CIE-LABlab(85.95, -38.01, 54.26)
CIE-LCHlch(85.95, 66.25, 125.01°)
OKLaboklab(86.58% -0.1062 0.1281)
OKLCHoklch(86.58% 0.166 129.7)
XYZxyz(49.1892, 67.8876, 24.4191)
Luminance0.6789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE86B #A46BE8
analogous
#E8E36B #AFE86B #71E86B
triadic
#AFE86B #6BAFE8 #E86BAF
tetradic
#AFE86B #6BE8E3 #A46BE8 #E86B71
square
#AFE86B #6BE8E3 #A46BE8 #E86B71
split-complementary
#AFE86B #6B71E8 #E36BE8
monochromatic
#73BB1D #92E036 #AFE86B #CCF0A0 #E8F8D5

Accessibility & contrast

On white

1.44
#AFE86B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#AFE86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE86B
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE86B#FFFFFF#000000##000000
##AFE86B1.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5F
Deuteranopia (green-blind)
#E9D673
Tritanopia (blue-blind)
#B3DFCC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe86b;
/* rgb */ color: rgb(175, 232, 107);
/* oklch */ color: oklch(86.6% 0.166 129.7);
Tailwind
colors: {
  custom: {
    50: '#c9ef99',
    500: '#afe86b',
    950: '#000000',
  },
}
SCSS
$custom: #afe86b;
$custom-light: #c9ef99;
$custom-dark: #000000;
JSON
{
  "hex": "#afe86b",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 107
  },
  "hsl": {
    "h": 87.36,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86583,
    "c": 0.16639,
    "h": 129.7
  },
  "luminance": 0.67889
}

Semantic roles & 50–950 ramp

primary
#AFE86B
secondary
#763CBB
accent
#10D56A
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE86B

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

Preview Lab → · Contrast checker → · Palette generator →

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