#AFE16C#AFE16C

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

Color values

HEX#AFE16C
RGBrgb(175, 225, 108)
HSLhsl(86, 66%, 65%)
HSVhsv(86, 52%, 88%)
CMYKcmyk(22.2%, 0%, 52%, 11.8%)
CIE-LABlab(83.99, -34.73, 51.49)
CIE-LCHlch(83.99, 62.11, 124.00°)
OKLaboklab(85% -0.0971 0.1221)
OKLCHoklch(85% 0.156 128.5)
XYZxyz(47.3109, 64.0462, 24.0540)
Luminance0.6405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE16C #9E6CE1
analogous
#E1D96C #AFE16C #74E16C
triadic
#AFE16C #6CAFE1 #E16CAF
tetradic
#AFE16C #6CE1D9 #9E6CE1 #E16C74
square
#AFE16C #6CE1D9 #9E6CE1 #E16C74
split-complementary
#AFE16C #6C74E1 #D96CE1
monochromatic
#73AF24 #93D739 #AFE16C #CBEB9F #E6F6D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE16C#FFFFFF#000000##000000
##AFE16C1.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)
#EBD461
Deuteranopia (green-blind)
#E3D073
Tritanopia (blue-blind)
#B4D8C7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe16c;
/* rgb */ color: rgb(175, 225, 108);
/* oklch */ color: oklch(85.0% 0.156 128.5);
Tailwind
colors: {
  custom: {
    50: '#c9ea99',
    500: '#afe16c',
    950: '#000000',
  },
}
SCSS
$custom: #afe16c;
$custom-light: #c9ea99;
$custom-dark: #000000;
JSON
{
  "hex": "#afe16c",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 108
  },
  "hsl": {
    "h": 85.641,
    "s": 66.102,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85001,
    "c": 0.156,
    "h": 128.5
  },
  "luminance": 0.64047
}

Semantic roles & 50–950 ramp

primary
#AFE16C
secondary
#7041B0
accent
#18CE65
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE16C

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

Preview Lab → · Contrast checker → · Palette generator →

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