#AFE16F#AFE16F

#AFE16F is a very light, vivid yellow-green. Relative luminance 0.641; OKLCH L 85.0% C 0.153 H 128.8°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#AFE16F
RGBrgb(175, 225, 111)
HSLhsl(86, 66%, 66%)
HSVhsv(86, 51%, 88%)
CMYKcmyk(22.2%, 0%, 50.7%, 11.8%)
CIE-LABlab(84.02, -34.43, 50.13)
CIE-LCHlch(84.02, 60.82, 124.48°)
OKLaboklab(85.04% -0.096 0.1194)
OKLCHoklch(85.04% 0.153 128.8)
XYZxyz(47.4733, 64.1112, 24.9094)
Luminance0.6411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE16F #A16FE1
analogous
#E1DA6F #AFE16F #76E16F
triadic
#AFE16F #6FAFE1 #E16FAF
tetradic
#AFE16F #6FE1DA #A16FE1 #E16F76
square
#AFE16F #6FE1DA #A16FE1 #E16F76
split-complementary
#AFE16F #6F76E1 #DA6FE1
monochromatic
#73B125 #93D63C #AFE16F #CBECA2 #E7F6D4

Accessibility & contrast

On white

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

On black

13.82
#AFE16F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE16F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE16F#FFFFFF#000000##000000
##AFE16F1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe16f;
/* rgb */ color: rgb(175, 225, 111);
/* oklch */ color: oklch(85.0% 0.153 128.8);
Tailwind
colors: {
  custom: {
    50: '#c9ea9b',
    500: '#afe16f',
    950: '#000000',
  },
}
SCSS
$custom: #afe16f;
$custom-light: #c9ea9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe16f",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 111
  },
  "hsl": {
    "h": 86.316,
    "s": 65.517,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85039,
    "c": 0.15319,
    "h": 128.8
  },
  "luminance": 0.64112
}

Semantic roles & 50–950 ramp

primary
#AFE16F
secondary
#7342B2
accent
#18CD68
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE16F

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

Preview Lab → · Contrast checker → · Palette generator →

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