#AFEF81#AFEF81

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

Color values

HEX#AFEF81
RGBrgb(175, 239, 129)
HSLhsl(95, 77%, 72%)
HSVhsv(95, 46%, 94%)
CMYKcmyk(26.8%, 0%, 46%, 6.3%)
CIE-LABlab(88.18, -38.77, 46.67)
CIE-LCHlch(88.18, 60.67, 129.72°)
OKLaboklab(88.47% -0.1069 0.1129)
OKLCHoklch(88.47% 0.155 133.4)
XYZxyz(52.5071, 72.4304, 31.9786)
Luminance0.7243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF81 #C181EF
analogous
#E6EF81 #AFEF81 #81EF8A
triadic
#AFEF81 #81AFEF #EF81AF
tetradic
#AFEF81 #81E6EF #C181EF #EF8A81
square
#AFEF81 #81E6EF #C181EF #EF8A81
split-complementary
#AFEF81 #8A81EF #EF81E6
monochromatic
#6BDA1C #8DE84B #AFEF81 #D1F6B7 #EEFCE4

Accessibility & contrast

On white

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

On black

15.49
#AFEF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF81
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF81#FFFFFF#000000##000000
##AFEF811.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afef81;
/* rgb */ color: rgb(175, 239, 129);
/* oklch */ color: oklch(88.5% 0.155 133.4);
Tailwind
colors: {
  custom: {
    50: '#c9f4a7',
    500: '#afef81',
    950: '#000000',
  },
}
SCSS
$custom: #afef81;
$custom-light: #c9f4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afef81",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 129
  },
  "hsl": {
    "h": 94.909,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.88466,
    "c": 0.15542,
    "h": 133.4
  },
  "luminance": 0.72432
}

Semantic roles & 50–950 ramp

primary
#AFEF81
secondary
#944BC9
accent
#0CDA84
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#131710
muted
#838580

Preview Lab

Preview with #AFEF81

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

Preview Lab → · Contrast checker → · Palette generator →

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