#AFE86D#AFE86D

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

Color values

HEX#AFE86D
RGBrgb(175, 232, 109)
HSLhsl(88, 73%, 67%)
HSVhsv(88, 53%, 91%)
CMYKcmyk(24.6%, 0%, 53%, 9%)
CIE-LABlab(85.97, -37.81, 53.38)
CIE-LCHlch(85.97, 65.41, 125.31°)
OKLaboklab(86.61% -0.1055 0.1263)
OKLCHoklch(86.61% 0.165 129.9)
XYZxyz(49.2957, 67.9302, 24.9797)
Luminance0.6793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE86D #A66DE8
analogous
#E8E46D #AFE86D #72E86D
triadic
#AFE86D #6DAFE8 #E86DAF
tetradic
#AFE86D #6DE8E4 #A66DE8 #E86D72
square
#AFE86D #6DE8E4 #A66DE8 #E86D72
split-complementary
#AFE86D #6D72E8 #E46DE8
monochromatic
#73BD1E #92E038 #AFE86D #CCF0A2 #E9F9D7

Accessibility & contrast

On white

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

On black

14.59
#AFE86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE86D
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE86D#FFFFFF#000000##000000
##AFE86D1.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe86d;
/* rgb */ color: rgb(175, 232, 109);
/* oklch */ color: oklch(86.6% 0.165 129.9);
Tailwind
colors: {
  custom: {
    50: '#c9ef9a',
    500: '#afe86d',
    950: '#000000',
  },
}
SCSS
$custom: #afe86d;
$custom-light: #c9ef9a;
$custom-dark: #000000;
JSON
{
  "hex": "#afe86d",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 109
  },
  "hsl": {
    "h": 87.805,
    "s": 72.781,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86607,
    "c": 0.16459,
    "h": 129.9
  },
  "luminance": 0.67931
}

Semantic roles & 50–950 ramp

primary
#AFE86D
secondary
#783DBC
accent
#11D56C
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE86D

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

Preview Lab → · Contrast checker → · Palette generator →

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