#AFE17F#AFE17F

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

Color values

HEX#AFE17F
RGBrgb(175, 225, 127)
HSLhsl(91, 62%, 69%)
HSVhsv(91, 44%, 88%)
CMYKcmyk(22.2%, 0%, 43.6%, 11.8%)
CIE-LABlab(84.22, -32.63, 42.70)
CIE-LCHlch(84.22, 53.74, 127.38°)
OKLaboklab(85.27% -0.0899 0.1038)
OKLCHoklch(85.27% 0.137 130.9)
XYZxyz(48.4345, 64.4957, 29.9717)
Luminance0.6450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE17F #B17FE1
analogous
#E0E17F #AFE17F #7FE180
triadic
#AFE17F #7FAFE1 #E17FAF
tetradic
#AFE17F #7FE0E1 #B17FE1 #E1807F
square
#AFE17F #7FE0E1 #B17FE1 #E1807F
split-complementary
#AFE17F #807FE1 #E17FE0
monochromatic
#71BA2C #90D54D #AFE17F #CEEDB1 #EDF8E2

Accessibility & contrast

On white

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

On black

13.90
#AFE17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE17F
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE17F#FFFFFF#000000##000000
##AFE17F1.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe17f;
/* rgb */ color: rgb(175, 225, 127);
/* oklch */ color: oklch(85.3% 0.137 130.9);
Tailwind
colors: {
  custom: {
    50: '#c8eaa5',
    500: '#afe17f',
    950: '#000000',
  },
}
SCSS
$custom: #afe17f;
$custom-light: #c8eaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#afe17f",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 127
  },
  "hsl": {
    "h": 90.612,
    "s": 62.025,
    "l": 69.02
  },
  "oklch": {
    "l": 0.85265,
    "c": 0.13734,
    "h": 130.9
  },
  "luminance": 0.64497
}

Semantic roles & 50–950 ramp

primary
#AFE17F
secondary
#834CB8
accent
#1CCA75
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE17F

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

Preview Lab → · Contrast checker → · Palette generator →

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