#AFE868#AFE868

#AFE868 is a very light, vivid yellow-green. Relative luminance 0.678; OKLCH L 86.5% C 0.169 H 129.4°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#AFE868
RGBrgb(175, 232, 104)
HSLhsl(87, 74%, 66%)
HSVhsv(87, 55%, 91%)
CMYKcmyk(24.6%, 0%, 55.2%, 9%)
CIE-LABlab(85.92, -38.30, 55.58)
CIE-LCHlch(85.92, 67.50, 124.57°)
OKLaboklab(86.55% -0.1073 0.1306)
OKLCHoklch(86.55% 0.169 129.4)
XYZxyz(49.0341, 67.8256, 23.6023)
Luminance0.6783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE868 #A168E8
analogous
#E8E168 #AFE868 #6FE868
triadic
#AFE868 #68AFE8 #E868AF
tetradic
#AFE868 #68E8E1 #A168E8 #E8686F
square
#AFE868 #68E8E1 #A168E8 #E8686F
split-complementary
#AFE868 #686FE8 #E168E8
monochromatic
#73B91C #93E033 #AFE868 #CBF09D #E7F8D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE868#FFFFFF#000000##000000
##AFE8681.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)
#F2D95B
Deuteranopia (green-blind)
#EAD671
Tritanopia (blue-blind)
#B3DFCC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe868;
/* rgb */ color: rgb(175, 232, 104);
/* oklch */ color: oklch(86.5% 0.169 129.4);
Tailwind
colors: {
  custom: {
    50: '#caef97',
    500: '#afe868',
    950: '#000000',
  },
}
SCSS
$custom: #afe868;
$custom-light: #caef97;
$custom-dark: #000000;
JSON
{
  "hex": "#afe868",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 104
  },
  "hsl": {
    "h": 86.719,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86547,
    "c": 0.16905,
    "h": 129.4
  },
  "luminance": 0.67827
}

Semantic roles & 50–950 ramp

primary
#AFE868
secondary
#733BB9
accent
#10D668
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE868

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

Preview Lab → · Contrast checker → · Palette generator →

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