#AFE97F#AFE97F

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

Color values

HEX#AFE97F
RGBrgb(175, 233, 127)
HSLhsl(93, 71%, 71%)
HSVhsv(93, 45%, 91%)
CMYKcmyk(24.9%, 0%, 45.5%, 8.6%)
CIE-LABlab(86.47, -36.30, 45.51)
CIE-LCHlch(86.47, 58.21, 128.58°)
OKLaboklab(87.08% -0.1001 0.1101)
OKLCHoklch(87.08% 0.149 132.3)
XYZxyz(50.6480, 68.9228, 30.7095)
Luminance0.6892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE97F #B97FE9
analogous
#E4E97F #AFE97F #7FE984
triadic
#AFE97F #7FAFE9 #E97FAF
tetradic
#AFE97F #7FE4E9 #B97FE9 #E9847F
square
#AFE97F #7FE4E9 #B97FE9 #E9847F
split-complementary
#AFE97F #847FE9 #E97FE4
monochromatic
#6FCB23 #8EE04B #AFE97F #D0F2B3 #EFFBE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE97F#FFFFFF#000000##000000
##AFE97F1.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)
#F1DB76
Deuteranopia (green-blind)
#E8D785
Tritanopia (blue-blind)
#B1E1D0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe97f;
/* rgb */ color: rgb(175, 233, 127);
/* oklch */ color: oklch(87.1% 0.149 132.3);
Tailwind
colors: {
  custom: {
    50: '#c9f0a6',
    500: '#afe97f',
    950: '#000000',
  },
}
SCSS
$custom: #afe97f;
$custom-light: #c9f0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe97f",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 92.83,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87075,
    "c": 0.14884,
    "h": 132.3
  },
  "luminance": 0.68924
}

Semantic roles & 50–950 ramp

primary
#AFE97F
secondary
#8C4AC2
accent
#13D37C
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE97F

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

Preview Lab → · Contrast checker → · Palette generator →

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