#AFE96F#AFE96F

#AFE96F is a very light, vivid yellow-green. Relative luminance 0.685; OKLCH L 86.9% C 0.164 H 130.3°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#AFE96F
RGBrgb(175, 233, 111)
HSLhsl(89, 73%, 67%)
HSVhsv(89, 52%, 91%)
CMYKcmyk(24.9%, 0%, 52.4%, 8.6%)
CIE-LABlab(86.27, -38.06, 52.82)
CIE-LCHlch(86.27, 65.10, 125.77°)
OKLaboklab(86.86% -0.1061 0.1253)
OKLCHoklch(86.86% 0.164 130.3)
XYZxyz(49.6868, 68.5383, 25.6473)
Luminance0.6854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE96F #A96FE9
analogous
#E9E66F #AFE96F #72E96F
triadic
#AFE96F #6FAFE9 #E96FAF
tetradic
#AFE96F #6FE9E6 #A96FE9 #E96F72
square
#AFE96F #6FE9E6 #A96FE9 #E96F72
split-complementary
#AFE96F #6F72E9 #E66FE9
monochromatic
#73C01D #92E13A #AFE96F #CCF1A4 #EAF9D9

Accessibility & contrast

On white

1.43
#AFE96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#AFE96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE96F
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE96F#FFFFFF#000000##000000
##AFE96F1.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB64
Deuteranopia (green-blind)
#EAD677
Tritanopia (blue-blind)
#B2E0CD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe96f;
/* rgb */ color: rgb(175, 233, 111);
/* oklch */ color: oklch(86.9% 0.164 130.3);
Tailwind
colors: {
  custom: {
    50: '#c9f09b',
    500: '#afe96f',
    950: '#000000',
  },
}
SCSS
$custom: #afe96f;
$custom-light: #c9f09b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe96f",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 111
  },
  "hsl": {
    "h": 88.525,
    "s": 73.494,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86859,
    "c": 0.16413,
    "h": 130.3
  },
  "luminance": 0.68539
}

Semantic roles & 50–950 ramp

primary
#AFE96F
secondary
#7B3DBF
accent
#10D66E
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE96F

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

Preview Lab → · Contrast checker → · Palette generator →

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