#AFE170#AFE170

#AFE170 is a very light, vivid yellow-green. Relative luminance 0.641; OKLCH L 85.1% C 0.152 H 128.9°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#AFE170
RGBrgb(175, 225, 112)
HSLhsl(87, 65%, 66%)
HSVhsv(87, 50%, 88%)
CMYKcmyk(22.2%, 0%, 50.2%, 11.8%)
CIE-LABlab(84.04, -34.32, 49.68)
CIE-LCHlch(84.04, 60.38, 124.64°)
OKLaboklab(85.05% -0.0956 0.1185)
OKLCHoklch(85.05% 0.152 128.9)
XYZxyz(47.5286, 64.1334, 25.2010)
Luminance0.6413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE170 #A270E1
analogous
#E1DB70 #AFE170 #76E170
triadic
#AFE170 #70AFE1 #E170AF
tetradic
#AFE170 #70E1DB #A270E1 #E17076
square
#AFE170 #70E1DB #A270E1 #E17076
split-complementary
#AFE170 #7076E1 #DB70E1
monochromatic
#73B125 #93D63D #AFE170 #CBECA3 #E8F6D5

Accessibility & contrast

On white

1.52
#AFE170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#AFE170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE170
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE170#FFFFFF#000000##000000
##AFE1701.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD466
Deuteranopia (green-blind)
#E3D077
Tritanopia (blue-blind)
#B3D9C7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe170;
/* rgb */ color: rgb(175, 225, 112);
/* oklch */ color: oklch(85.1% 0.152 128.9);
Tailwind
colors: {
  custom: {
    50: '#c9ea9b',
    500: '#afe170',
    950: '#000000',
  },
}
SCSS
$custom: #afe170;
$custom-light: #c9ea9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe170",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 112
  },
  "hsl": {
    "h": 86.549,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85052,
    "c": 0.15223,
    "h": 128.9
  },
  "luminance": 0.64134
}

Semantic roles & 50–950 ramp

primary
#AFE170
secondary
#7443B3
accent
#18CD68
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE170

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

Preview Lab → · Contrast checker → · Palette generator →

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