#AFE97D#AFE97D

#AFE97D is a very light, vivid yellow-green. Relative luminance 0.689; OKLCH L 87.0% C 0.151 H 132.0°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#AFE97D
RGBrgb(175, 233, 125)
HSLhsl(92, 71%, 70%)
HSVhsv(92, 46%, 91%)
CMYKcmyk(24.9%, 0%, 46.4%, 8.6%)
CIE-LABlab(86.44, -36.53, 46.44)
CIE-LCHlch(86.44, 59.08, 128.19°)
OKLaboklab(87.05% -0.1009 0.1121)
OKLCHoklch(87.05% 0.151 132)
XYZxyz(50.5190, 68.8712, 30.0299)
Luminance0.6887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE97D #B77DE9
analogous
#E5E97D #AFE97D #7DE981
triadic
#AFE97D #7DAFE9 #E97DAF
tetradic
#AFE97D #7DE5E9 #B77DE9 #E9817D
square
#AFE97D #7DE5E9 #B77DE9 #E9817D
split-complementary
#AFE97D #817DE9 #E97DE5
monochromatic
#70CA22 #8FE049 #AFE97D #CFF2B1 #EFFBE5

Accessibility & contrast

On white

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

On black

14.77
#AFE97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE97D
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE97D#FFFFFF#000000##000000
##AFE97D1.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe97d;
/* rgb */ color: rgb(175, 233, 125);
/* oklch */ color: oklch(87.0% 0.151 132.0);
Tailwind
colors: {
  custom: {
    50: '#c9f0a4',
    500: '#afe97d',
    950: '#000000',
  },
}
SCSS
$custom: #afe97d;
$custom-light: #c9f0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afe97d",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 125
  },
  "hsl": {
    "h": 92.222,
    "s": 71.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87047,
    "c": 0.15082,
    "h": 132
  },
  "luminance": 0.68872
}

Semantic roles & 50–950 ramp

primary
#AFE97D
secondary
#8A48C2
accent
#12D37A
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE97D

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

Preview Lab → · Contrast checker → · Palette generator →

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