#AFEF82#AFEF82

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

Color values

HEX#AFEF82
RGBrgb(175, 239, 130)
HSLhsl(95, 77%, 72%)
HSVhsv(95, 46%, 94%)
CMYKcmyk(26.8%, 0%, 45.6%, 6.3%)
CIE-LABlab(88.19, -38.65, 46.21)
CIE-LCHlch(88.19, 60.24, 129.91°)
OKLaboklab(88.48% -0.1065 0.1119)
OKLCHoklch(88.48% 0.154 133.6)
XYZxyz(52.5739, 72.4571, 32.3304)
Luminance0.7246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF82 #C282EF
analogous
#E6EF82 #AFEF82 #82EF8B
triadic
#AFEF82 #82AFEF #EF82AF
tetradic
#AFEF82 #82E6EF #C282EF #EF8B82
square
#AFEF82 #82E6EF #C282EF #EF8B82
split-complementary
#AFEF82 #8B82EF #EF82E6
monochromatic
#6BDB1C #8CE84C #AFEF82 #D2F6B8 #EEFCE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFEF82#FFFFFF#000000##000000
##AFEF821.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)
#F7E179
Deuteranopia (green-blind)
#EDDB89
Tritanopia (blue-blind)
#B0E7D5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef82;
/* rgb */ color: rgb(175, 239, 130);
/* oklch */ color: oklch(88.5% 0.154 133.6);
Tailwind
colors: {
  custom: {
    50: '#c9f4a8',
    500: '#afef82',
    950: '#000000',
  },
}
SCSS
$custom: #afef82;
$custom-light: #c9f4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afef82",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 130
  },
  "hsl": {
    "h": 95.229,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.88481,
    "c": 0.15444,
    "h": 133.6
  },
  "luminance": 0.72459
}

Semantic roles & 50–950 ramp

primary
#AFEF82
secondary
#964CCA
accent
#0CDA85
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#131710
muted
#838580

Preview Lab

Preview with #AFEF82

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

Preview Lab → · Contrast checker → · Palette generator →

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