#AFE286#AFE286

#AFE286 is a very light, vivid yellow-green. Relative luminance 0.652; OKLCH L 85.6% C 0.132 H 132.3°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#AFE286
RGBrgb(175, 226, 134)
HSLhsl(93, 61%, 71%)
HSVhsv(93, 41%, 89%)
CMYKcmyk(22.6%, 0%, 40.7%, 11.4%)
CIE-LABlab(84.60, -32.22, 39.72)
CIE-LCHlch(84.60, 51.15, 129.05°)
OKLaboklab(85.6% -0.0884 0.0973)
OKLCHoklch(85.6% 0.132 132.3)
XYZxyz(49.1777, 65.2268, 32.5487)
Luminance0.6523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE286 #B986E2
analogous
#DDE286 #AFE286 #86E28B
triadic
#AFE286 #86AFE2 #E286AF
tetradic
#AFE286 #86DDE2 #B986E2 #E28B86
square
#AFE286 #86DDE2 #B986E2 #E28B86
split-complementary
#AFE286 #8B86E2 #E286DD
monochromatic
#6FC02E #8ED655 #AFE286 #D0EEB7 #EFF9E6

Accessibility & contrast

On white

1.50
#AFE286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#AFE286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE286
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE286#FFFFFF#000000##000000
##AFE2861.001.5014.0514.05
#FFFFFF1.501.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D67F
Deuteranopia (green-blind)
#E2D28B
Tritanopia (blue-blind)
#B1DBCB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe286;
/* rgb */ color: rgb(175, 226, 134);
/* oklch */ color: oklch(85.6% 0.132 132.3);
Tailwind
colors: {
  custom: {
    50: '#c8ebaa',
    500: '#afe286',
    950: '#000000',
  },
}
SCSS
$custom: #afe286;
$custom-light: #c8ebaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afe286",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 134
  },
  "hsl": {
    "h": 93.261,
    "s": 61.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.85601,
    "c": 0.13152,
    "h": 132.3
  },
  "luminance": 0.65228
}

Semantic roles & 50–950 ramp

primary
#AFE286
secondary
#8C52BA
accent
#1CC97C
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE286

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

Preview Lab → · Contrast checker → · Palette generator →

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