#AFE96C#AFE96C

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

Color values

HEX#AFE96C
RGBrgb(175, 233, 108)
HSLhsl(88, 74%, 67%)
HSVhsv(88, 54%, 91%)
CMYKcmyk(24.9%, 0%, 53.6%, 8.6%)
CIE-LABlab(86.24, -38.36, 54.15)
CIE-LCHlch(86.24, 66.36, 125.31°)
OKLaboklab(86.82% -0.1071 0.1279)
OKLCHoklch(86.82% 0.167 129.9)
XYZxyz(49.5244, 68.4734, 24.7919)
Luminance0.6847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE96C #A66CE9
analogous
#E9E46C #AFE96C #71E96C
triadic
#AFE96C #6CAFE9 #E96CAF
tetradic
#AFE96C #6CE9E4 #A66CE9 #E96C71
square
#AFE96C #6CE9E4 #A66CE9 #E96C71
split-complementary
#AFE96C #6C71E9 #E46CE9
monochromatic
#73BE1C #92E137 #AFE96C #CCF1A1 #E9F9D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE96C#FFFFFF#000000##000000
##AFE96C1.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)
#F3DA60
Deuteranopia (green-blind)
#EAD674
Tritanopia (blue-blind)
#B3E0CD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe96c;
/* rgb */ color: rgb(175, 233, 108);
/* oklch */ color: oklch(86.8% 0.167 129.9);
Tailwind
colors: {
  custom: {
    50: '#caf099',
    500: '#afe96c',
    950: '#000000',
  },
}
SCSS
$custom: #afe96c;
$custom-light: #caf099;
$custom-dark: #000000;
JSON
{
  "hex": "#afe96c",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 108
  },
  "hsl": {
    "h": 87.84,
    "s": 73.964,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86823,
    "c": 0.16685,
    "h": 129.9
  },
  "luminance": 0.68474
}

Semantic roles & 50–950 ramp

primary
#AFE96C
secondary
#783CBD
accent
#0FD66C
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE96C

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

Preview Lab → · Contrast checker → · Palette generator →

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