#AFE17C#AFE17C

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

Color values

HEX#AFE17C
RGBrgb(175, 225, 124)
HSLhsl(90, 63%, 68%)
HSVhsv(90, 45%, 88%)
CMYKcmyk(22.2%, 0%, 44.9%, 11.8%)
CIE-LABlab(84.18, -32.98, 44.11)
CIE-LCHlch(84.18, 55.08, 126.79°)
OKLaboklab(85.22% -0.0911 0.1068)
OKLCHoklch(85.22% 0.14 130.5)
XYZxyz(48.2419, 64.4186, 28.9573)
Luminance0.6442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE17C #AE7CE1
analogous
#E1E07C #AFE17C #7CE17C
triadic
#AFE17C #7CAFE1 #E17CAF
tetradic
#AFE17C #7CE1E0 #AE7CE1 #E17C7C
square
#AFE17C #7CE1E0 #AE7CE1 #E17C7C
split-complementary
#AFE17C #7C7CE1 #E07CE1
monochromatic
#72B82A #91D64A #AFE17C #CDECAE #ECF8E0

Accessibility & contrast

On white

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

On black

13.88
#AFE17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE17C
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE17C#FFFFFF#000000##000000
##AFE17C1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe17c;
/* rgb */ color: rgb(175, 225, 124);
/* oklch */ color: oklch(85.2% 0.140 130.5);
Tailwind
colors: {
  custom: {
    50: '#c9eaa3',
    500: '#afe17c',
    950: '#000000',
  },
}
SCSS
$custom: #afe17c;
$custom-light: #c9eaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#afe17c",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 124
  },
  "hsl": {
    "h": 89.703,
    "s": 62.733,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8522,
    "c": 0.1404,
    "h": 130.5
  },
  "luminance": 0.6442
}

Semantic roles & 50–950 ramp

primary
#AFE17C
secondary
#8049B8
accent
#1BCA72
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE17C

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

Preview Lab → · Contrast checker → · Palette generator →

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