#AFF157#AFF157

#AFF157 is a very light, vivid yellow-green. Relative luminance 0.727; OKLCH L 88.4% C 0.194 H 129.5°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#AFF157
RGBrgb(175, 241, 87)
HSLhsl(86, 85%, 64%)
HSVhsv(86, 64%, 95%)
CMYKcmyk(27.4%, 0%, 63.9%, 5.5%)
CIE-LABlab(88.31, -43.70, 65.46)
CIE-LCHlch(88.31, 78.70, 123.73°)
OKLaboklab(88.44% -0.1235 0.1499)
OKLCHoklch(88.44% 0.194 129.5)
XYZxyz(50.8545, 72.7114, 20.3703)
Luminance0.7271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF157 #9957F1
analogous
#F1E657 #AFF157 #62F157
triadic
#AFF157 #57AFF1 #F157AF
tetradic
#AFF157 #57F1E6 #9957F1 #F15762
square
#AFF157 #57F1E6 #9957F1 #F15762
split-complementary
#AFF157 #5762F1 #E657F1
monochromatic
#73BE10 #94EC1F #AFF157 #CAF68F #E5FAC8

Accessibility & contrast

On white

1.35
#AFF157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#AFF157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF157
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF157#FFFFFF#000000##000000
##AFF1571.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE143
Deuteranopia (green-blind)
#F3DC63
Tritanopia (blue-blind)
#B4E7D1
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #aff157;
/* rgb */ color: rgb(175, 241, 87);
/* oklch */ color: oklch(88.4% 0.194 129.5);
Tailwind
colors: {
  custom: {
    50: '#cbf68d',
    500: '#aff157',
    950: '#000000',
  },
}
SCSS
$custom: #aff157;
$custom-light: #cbf68d;
$custom-dark: #000000;
JSON
{
  "hex": "#aff157",
  "rgb": {
    "r": 175,
    "g": 241,
    "b": 87
  },
  "hsl": {
    "h": 85.714,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.88436,
    "c": 0.19425,
    "h": 129.5
  },
  "luminance": 0.72713
}

Semantic roles & 50–950 ramp

primary
#AFF157
secondary
#6C30BC
accent
#04E163
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFF157

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

Preview Lab → · Contrast checker → · Palette generator →

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