#AFE97A#AFE97A

#AFE97A is a very light, vivid yellow-green. Relative luminance 0.688; OKLCH L 87.0% C 0.154 H 131.6°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#AFE97A
RGBrgb(175, 233, 122)
HSLhsl(91, 72%, 70%)
HSVhsv(91, 48%, 91%)
CMYKcmyk(24.9%, 0%, 47.6%, 8.6%)
CIE-LABlab(86.40, -36.88, 47.82)
CIE-LCHlch(86.40, 60.39, 127.64°)
OKLaboklab(87% -0.102 0.115)
OKLCHoklch(87% 0.154 131.6)
XYZxyz(50.3302, 68.7957, 29.0358)
Luminance0.6880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE97A #B47AE9
analogous
#E7E97A #AFE97A #7AE97C
triadic
#AFE97A #7AAFE9 #E97AAF
tetradic
#AFE97A #7AE7E9 #B47AE9 #E97C7A
square
#AFE97A #7AE7E9 #B47AE9 #E97C7A
split-complementary
#AFE97A #7C7AE9 #E97AE7
monochromatic
#71C821 #8FE045 #AFE97A #CFF2AF #EEFAE3

Accessibility & contrast

On white

1.42
#AFE97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#AFE97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE97A
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE97A#FFFFFF#000000##000000
##AFE97A1.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB71
Deuteranopia (green-blind)
#E9D781
Tritanopia (blue-blind)
#B1E1CF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe97a;
/* rgb */ color: rgb(175, 233, 122);
/* oklch */ color: oklch(87.0% 0.154 131.6);
Tailwind
colors: {
  custom: {
    50: '#c9f0a2',
    500: '#afe97a',
    950: '#000000',
  },
}
SCSS
$custom: #afe97a;
$custom-light: #c9f0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe97a",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 91.351,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87004,
    "c": 0.15376,
    "h": 131.6
  },
  "luminance": 0.68797
}

Semantic roles & 50–950 ramp

primary
#AFE97A
secondary
#8646C1
accent
#12D477
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE97A

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

Preview Lab → · Contrast checker → · Palette generator →

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