#AFE86A#AFE86A

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

Color values

HEX#AFE86A
RGBrgb(175, 232, 106)
HSLhsl(87, 73%, 66%)
HSVhsv(87, 54%, 91%)
CMYKcmyk(24.6%, 0%, 54.3%, 9%)
CIE-LABlab(85.94, -38.10, 54.70)
CIE-LCHlch(85.94, 66.67, 124.86°)
OKLaboklab(86.57% -0.1066 0.1289)
OKLCHoklch(86.57% 0.167 129.6)
XYZxyz(49.1369, 67.8667, 24.1436)
Luminance0.6787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE86A #A36AE8
analogous
#E8E26A #AFE86A #70E86A
triadic
#AFE86A #6AAFE8 #E86AAF
tetradic
#AFE86A #6AE8E2 #A36AE8 #E86A70
square
#AFE86A #6AE8E2 #A36AE8 #E86A70
split-complementary
#AFE86A #6A70E8 #E26AE8
monochromatic
#73BB1D #93E035 #AFE86A #CBF09F #E8F8D4

Accessibility & contrast

On white

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

On black

14.57
#AFE86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE86A
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE86A#FFFFFF#000000##000000
##AFE86A1.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe86a;
/* rgb */ color: rgb(175, 232, 106);
/* oklch */ color: oklch(86.6% 0.167 129.6);
Tailwind
colors: {
  custom: {
    50: '#caef98',
    500: '#afe86a',
    950: '#000000',
  },
}
SCSS
$custom: #afe86a;
$custom-light: #caef98;
$custom-dark: #000000;
JSON
{
  "hex": "#afe86a",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 106
  },
  "hsl": {
    "h": 87.143,
    "s": 73.256,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86571,
    "c": 0.16729,
    "h": 129.6
  },
  "luminance": 0.67868
}

Semantic roles & 50–950 ramp

primary
#AFE86A
secondary
#753CBA
accent
#10D569
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE86A

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

Preview Lab → · Contrast checker → · Palette generator →

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