#AFE160#AFE160

#AFE160 is a very light, vivid yellow-green. Relative luminance 0.638; OKLCH L 84.9% C 0.167 H 127.4°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#AFE160
RGBrgb(175, 225, 96)
HSLhsl(83, 68%, 63%)
HSVhsv(83, 57%, 88%)
CMYKcmyk(22.2%, 0%, 57.3%, 11.8%)
CIE-LABlab(83.87, -35.87, 56.78)
CIE-LCHlch(83.87, 67.16, 122.28°)
OKLaboklab(84.86% -0.1012 0.1325)
OKLCHoklch(84.86% 0.167 127.4)
XYZxyz(46.7156, 63.8081, 20.9191)
Luminance0.6381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE160 #9260E1
analogous
#E1D360 #AFE160 #6EE160
triadic
#AFE160 #60AFE1 #E160AF
tetradic
#AFE160 #60E1D3 #9260E1 #E1606E
square
#AFE160 #60E1D3 #9260E1 #E1606E
split-complementary
#AFE160 #606EE1 #D360E1
monochromatic
#73A720 #95D72D #AFE160 #C9EB93 #E3F4C7

Accessibility & contrast

On white

1.53
#AFE160 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#AFE160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE160
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE160#FFFFFF#000000##000000
##AFE1601.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD352
Deuteranopia (green-blind)
#E4D069
Tritanopia (blue-blind)
#B5D8C5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe160;
/* rgb */ color: rgb(175, 225, 96);
/* oklch */ color: oklch(84.9% 0.167 127.4);
Tailwind
colors: {
  custom: {
    50: '#caea91',
    500: '#afe160',
    950: '#000000',
  },
}
SCSS
$custom: #afe160;
$custom-light: #caea91;
$custom-dark: #000000;
JSON
{
  "hex": "#afe160",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 96
  },
  "hsl": {
    "h": 83.256,
    "s": 68.254,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84861,
    "c": 0.16669,
    "h": 127.4
  },
  "luminance": 0.63809
}

Semantic roles & 50–950 ramp

primary
#AFE160
secondary
#663CA9
accent
#15D05E
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE160

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

Preview Lab → · Contrast checker → · Palette generator →

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