#AFE96A#AFE96A

#AFE96A is a very light, vivid yellow-green. Relative luminance 0.684; OKLCH L 86.8% C 0.169 H 129.7°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#AFE96A
RGBrgb(175, 233, 106)
HSLhsl(87, 74%, 66%)
HSVhsv(87, 55%, 91%)
CMYKcmyk(24.9%, 0%, 54.5%, 8.6%)
CIE-LABlab(86.22, -38.55, 55.03)
CIE-LCHlch(86.22, 67.19, 125.01°)
OKLaboklab(86.8% -0.1078 0.1296)
OKLCHoklch(86.8% 0.169 129.7)
XYZxyz(49.4192, 68.4313, 24.2377)
Luminance0.6843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE96A #A46AE9
analogous
#E9E46A #AFE96A #70E96A
triadic
#AFE96A #6AAFE9 #E96AAF
tetradic
#AFE96A #6AE9E4 #A46AE9 #E96A70
square
#AFE96A #6AE9E4 #A46AE9 #E96A70
split-complementary
#AFE96A #6A70E9 #E46AE9
monochromatic
#73BD1C #92E135 #AFE96A #CCF19F #E8F9D5

Accessibility & contrast

On white

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

On black

14.69
#AFE96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE96A
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE96A#FFFFFF#000000##000000
##AFE96A1.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA5E
Deuteranopia (green-blind)
#EAD672
Tritanopia (blue-blind)
#B3E0CD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe96a;
/* rgb */ color: rgb(175, 233, 106);
/* oklch */ color: oklch(86.8% 0.169 129.7);
Tailwind
colors: {
  custom: {
    50: '#caf098',
    500: '#afe96a',
    950: '#000000',
  },
}
SCSS
$custom: #afe96a;
$custom-light: #caf098;
$custom-dark: #000000;
JSON
{
  "hex": "#afe96a",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 106
  },
  "hsl": {
    "h": 87.402,
    "s": 74.269,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86799,
    "c": 0.16862,
    "h": 129.7
  },
  "luminance": 0.68432
}

Semantic roles & 50–950 ramp

primary
#AFE96A
secondary
#763BBC
accent
#0FD66A
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE96A

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

Preview Lab → · Contrast checker → · Palette generator →

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