#AFE17A#AFE17A

#AFE17A is a very light, vivid yellow-green. Relative luminance 0.644; OKLCH L 85.2% C 0.142 H 130.2°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#AFE17A
RGBrgb(175, 225, 122)
HSLhsl(89, 63%, 68%)
HSVhsv(89, 46%, 88%)
CMYKcmyk(22.2%, 0%, 45.8%, 11.8%)
CIE-LABlab(84.16, -33.22, 45.05)
CIE-LCHlch(84.16, 55.97, 126.40°)
OKLaboklab(85.19% -0.0919 0.1088)
OKLCHoklch(85.19% 0.142 130.2)
XYZxyz(48.1167, 64.3686, 28.2979)
Luminance0.6437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE17A #AC7AE1
analogous
#E1DF7A #AFE17A #7BE17A
triadic
#AFE17A #7AAFE1 #E17AAF
tetradic
#AFE17A #7AE1DF #AC7AE1 #E17A7B
square
#AFE17A #7AE1DF #AC7AE1 #E17A7B
split-complementary
#AFE17A #7A7BE1 #DF7AE1
monochromatic
#72B729 #91D648 #AFE17A #CDECAC #EBF8DE

Accessibility & contrast

On white

1.51
#AFE17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#AFE17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE17A
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE17A#FFFFFF#000000##000000
##AFE17A1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D472
Deuteranopia (green-blind)
#E2D180
Tritanopia (blue-blind)
#B2D9C9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe17a;
/* rgb */ color: rgb(175, 225, 122);
/* oklch */ color: oklch(85.2% 0.142 130.2);
Tailwind
colors: {
  custom: {
    50: '#c9eaa2',
    500: '#afe17a',
    950: '#000000',
  },
}
SCSS
$custom: #afe17a;
$custom-light: #c9eaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe17a",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 122
  },
  "hsl": {
    "h": 89.126,
    "s": 63.19,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85191,
    "c": 0.14243,
    "h": 130.2
  },
  "luminance": 0.6437
}

Semantic roles & 50–950 ramp

primary
#AFE17A
secondary
#7E47B8
accent
#1BCB70
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE17A

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

Preview Lab → · Contrast checker → · Palette generator →

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