#AFE97E#AFE97E

#AFE97E is a very light, vivid yellow-green. Relative luminance 0.689; OKLCH L 87.1% C 0.150 H 132.1°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#AFE97E
RGBrgb(175, 233, 126)
HSLhsl(93, 71%, 70%)
HSVhsv(93, 46%, 91%)
CMYKcmyk(24.9%, 0%, 45.9%, 8.6%)
CIE-LABlab(86.45, -36.42, 45.97)
CIE-LCHlch(86.45, 58.65, 128.39°)
OKLaboklab(87.06% -0.1005 0.1111)
OKLCHoklch(87.06% 0.15 132.1)
XYZxyz(50.5832, 68.8969, 30.3680)
Luminance0.6890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE97E #B87EE9
analogous
#E5E97E #AFE97E #7EE982
triadic
#AFE97E #7EAFE9 #E97EAF
tetradic
#AFE97E #7EE5E9 #B87EE9 #E9827E
square
#AFE97E #7EE5E9 #B87EE9 #E9827E
split-complementary
#AFE97E #827EE9 #E97EE5
monochromatic
#6FCA22 #8FE04A #AFE97E #CFF2B2 #EFFBE5

Accessibility & contrast

On white

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

On black

14.78
#AFE97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE97E
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE97E#FFFFFF#000000##000000
##AFE97E1.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB75
Deuteranopia (green-blind)
#E9D784
Tritanopia (blue-blind)
#B1E1D0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe97e;
/* rgb */ color: rgb(175, 233, 126);
/* oklch */ color: oklch(87.1% 0.150 132.1);
Tailwind
colors: {
  custom: {
    50: '#c9f0a5',
    500: '#afe97e',
    950: '#000000',
  },
}
SCSS
$custom: #afe97e;
$custom-light: #c9f0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afe97e",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 92.523,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87061,
    "c": 0.14984,
    "h": 132.1
  },
  "luminance": 0.68898
}

Semantic roles & 50–950 ramp

primary
#AFE97E
secondary
#8B49C2
accent
#13D37B
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE97E

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

Preview Lab → · Contrast checker → · Palette generator →

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