#AFE17D#AFE17D

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

Color values

HEX#AFE17D
RGBrgb(175, 225, 125)
HSLhsl(90, 63%, 69%)
HSVhsv(90, 44%, 88%)
CMYKcmyk(22.2%, 0%, 44.4%, 11.8%)
CIE-LABlab(84.20, -32.87, 43.64)
CIE-LCHlch(84.20, 54.63, 126.98°)
OKLaboklab(85.24% -0.0907 0.1058)
OKLCHoklch(85.24% 0.139 130.6)
XYZxyz(48.3054, 64.4441, 29.2920)
Luminance0.6444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE17D #AF7DE1
analogous
#E1E17D #AFE17D #7DE17D
triadic
#AFE17D #7DAFE1 #E17DAF
tetradic
#AFE17D #7DE1E1 #AF7DE1 #E17D7D
square
#AFE17D #7DE1E1 #AF7DE1 #E17D7D
split-complementary
#AFE17D #7D7DE1 #E17DE1
monochromatic
#72B92B #90D64B #AFE17D #CEECAF #ECF8E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE17D#FFFFFF#000000##000000
##AFE17D1.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)
#E9D475
Deuteranopia (green-blind)
#E2D183
Tritanopia (blue-blind)
#B2DAC9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe17d;
/* rgb */ color: rgb(175, 225, 125);
/* oklch */ color: oklch(85.2% 0.139 130.6);
Tailwind
colors: {
  custom: {
    50: '#c9eaa4',
    500: '#afe17d',
    950: '#000000',
  },
}
SCSS
$custom: #afe17d;
$custom-light: #c9eaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#afe17d",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 125
  },
  "hsl": {
    "h": 90,
    "s": 62.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85235,
    "c": 0.13939,
    "h": 130.6
  },
  "luminance": 0.64445
}

Semantic roles & 50–950 ramp

primary
#AFE17D
secondary
#814AB8
accent
#1BCA73
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE17D

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

Preview Lab → · Contrast checker → · Palette generator →

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