#AFEF80#AFEF80

#AFEF80 is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.5% C 0.156 H 133.3°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#AFEF80
RGBrgb(175, 239, 128)
HSLhsl(95, 78%, 72%)
HSVhsv(95, 46%, 94%)
CMYKcmyk(26.8%, 0%, 46.4%, 6.3%)
CIE-LABlab(88.16, -38.89, 47.13)
CIE-LCHlch(88.16, 61.10, 129.52°)
OKLaboklab(88.45% -0.1072 0.1138)
OKLCHoklch(88.45% 0.156 133.3)
XYZxyz(52.4410, 72.4039, 31.6303)
Luminance0.7240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF80 #C080EF
analogous
#E6EF80 #AFEF80 #80EF89
triadic
#AFEF80 #80AFEF #EF80AF
tetradic
#AFEF80 #80E6EF #C080EF #EF8980
square
#AFEF80 #80E6EF #C080EF #EF8980
split-complementary
#AFEF80 #8980EF #EF80E6
monochromatic
#6CD91B #8DE84A #AFEF80 #D1F6B6 #EEFCE4

Accessibility & contrast

On white

1.36
#AFEF80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.48
#AFEF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF80
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF80#FFFFFF#000000##000000
##AFEF801.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E177
Deuteranopia (green-blind)
#EEDB87
Tritanopia (blue-blind)
#B0E7D5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef80;
/* rgb */ color: rgb(175, 239, 128);
/* oklch */ color: oklch(88.5% 0.156 133.3);
Tailwind
colors: {
  custom: {
    50: '#c9f4a7',
    500: '#afef80',
    950: '#000000',
  },
}
SCSS
$custom: #afef80;
$custom-light: #c9f4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afef80",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 128
  },
  "hsl": {
    "h": 94.595,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.88452,
    "c": 0.15639,
    "h": 133.3
  },
  "luminance": 0.72405
}

Semantic roles & 50–950 ramp

primary
#AFEF80
secondary
#934AC9
accent
#0CDA83
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#131710
muted
#838580

Preview Lab

Preview with #AFEF80

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

Preview Lab → · Contrast checker → · Palette generator →

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