#AFE16B#AFE16B

#AFE16B is a very light, vivid yellow-green. Relative luminance 0.640; OKLCH L 85.0% C 0.157 H 128.4°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#AFE16B
RGBrgb(175, 225, 107)
HSLhsl(85, 66%, 65%)
HSVhsv(85, 52%, 88%)
CMYKcmyk(22.2%, 0%, 52.4%, 11.8%)
CIE-LABlab(83.98, -34.83, 51.94)
CIE-LCHlch(83.98, 62.54, 123.85°)
OKLaboklab(84.99% -0.0974 0.123)
OKLCHoklch(84.99% 0.157 128.4)
XYZxyz(47.2580, 64.0251, 23.7754)
Luminance0.6403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE16B #9D6BE1
analogous
#E1D86B #AFE16B #74E16B
triadic
#AFE16B #6BAFE1 #E16BAF
tetradic
#AFE16B #6BE1D8 #9D6BE1 #E16B74
square
#AFE16B #6BE1D8 #9D6BE1 #E16B74
split-complementary
#AFE16B #6B74E1 #D86BE1
monochromatic
#73AE23 #93D738 #AFE16B #CBEB9E #E6F6D1

Accessibility & contrast

On white

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

On black

13.81
#AFE16B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE16B
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE16B#FFFFFF#000000##000000
##AFE16B1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD460
Deuteranopia (green-blind)
#E3D072
Tritanopia (blue-blind)
#B4D8C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe16b;
/* rgb */ color: rgb(175, 225, 107);
/* oklch */ color: oklch(85.0% 0.157 128.4);
Tailwind
colors: {
  custom: {
    50: '#c9ea98',
    500: '#afe16b',
    950: '#000000',
  },
}
SCSS
$custom: #afe16b;
$custom-light: #c9ea98;
$custom-dark: #000000;
JSON
{
  "hex": "#afe16b",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 107
  },
  "hsl": {
    "h": 85.424,
    "s": 66.292,
    "l": 65.098
  },
  "oklch": {
    "l": 0.84989,
    "c": 0.15692,
    "h": 128.4
  },
  "luminance": 0.64026
}

Semantic roles & 50–950 ramp

primary
#AFE16B
secondary
#7040B0
accent
#17CE65
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE16B

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

Preview Lab → · Contrast checker → · Palette generator →

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