#AFE17E#AFE17E

#AFE17E is a very light, vivid yellow-green. Relative luminance 0.645; OKLCH L 85.3% C 0.138 H 130.8°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#AFE17E
RGBrgb(175, 225, 126)
HSLhsl(90, 62%, 69%)
HSVhsv(90, 44%, 88%)
CMYKcmyk(22.2%, 0%, 44%, 11.8%)
CIE-LABlab(84.21, -32.75, 43.17)
CIE-LCHlch(84.21, 54.19, 127.18°)
OKLaboklab(85.25% -0.0903 0.1048)
OKLCHoklch(85.25% 0.138 130.8)
XYZxyz(48.3696, 64.4698, 29.6301)
Luminance0.6447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE17E #B07EE1
analogous
#E1E17E #AFE17E #7EE17F
triadic
#AFE17E #7EAFE1 #E17EAF
tetradic
#AFE17E #7EE1E1 #B07EE1 #E17F7E
square
#AFE17E #7EE1E1 #B07EE1 #E17F7E
split-complementary
#AFE17E #7F7EE1 #E17EE1
monochromatic
#72B92B #90D54C #AFE17E #CEEDB0 #EDF8E1

Accessibility & contrast

On white

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

On black

13.89
#AFE17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE17E
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE17E#FFFFFF#000000##000000
##AFE17E1.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D476
Deuteranopia (green-blind)
#E2D184
Tritanopia (blue-blind)
#B2DAC9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe17e;
/* rgb */ color: rgb(175, 225, 126);
/* oklch */ color: oklch(85.3% 0.138 130.8);
Tailwind
colors: {
  custom: {
    50: '#c8eaa5',
    500: '#afe17e',
    950: '#000000',
  },
}
SCSS
$custom: #afe17e;
$custom-light: #c8eaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#afe17e",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 126
  },
  "hsl": {
    "h": 90.303,
    "s": 62.264,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8525,
    "c": 0.13837,
    "h": 130.8
  },
  "luminance": 0.64471
}

Semantic roles & 50–950 ramp

primary
#AFE17E
secondary
#824BB8
accent
#1BCA74
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE17E

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

Preview Lab → · Contrast checker → · Palette generator →

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