#AFE96D#AFE96D

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

Color values

HEX#AFE96D
RGBrgb(175, 233, 109)
HSLhsl(88, 74%, 67%)
HSVhsv(88, 53%, 91%)
CMYKcmyk(24.9%, 0%, 53.2%, 8.6%)
CIE-LABlab(86.25, -38.26, 53.71)
CIE-LCHlch(86.25, 65.94, 125.46°)
OKLaboklab(86.84% -0.1068 0.127)
OKLCHoklch(86.84% 0.166 130.1)
XYZxyz(49.5779, 68.4948, 25.0738)
Luminance0.6850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE96D #A76DE9
analogous
#E9E56D #AFE96D #71E96D
triadic
#AFE96D #6DAFE9 #E96DAF
tetradic
#AFE96D #6DE9E5 #A76DE9 #E96D71
square
#AFE96D #6DE9E5 #A76DE9 #E96D71
split-complementary
#AFE96D #6D71E9 #E56DE9
monochromatic
#73BF1D #92E138 #AFE96D #CCF1A2 #E9F9D7

Accessibility & contrast

On white

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

On black

14.70
#AFE96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE96D
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE96D#FFFFFF#000000##000000
##AFE96D1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe96d;
/* rgb */ color: rgb(175, 233, 109);
/* oklch */ color: oklch(86.8% 0.166 130.1);
Tailwind
colors: {
  custom: {
    50: '#c9f09a',
    500: '#afe96d',
    950: '#000000',
  },
}
SCSS
$custom: #afe96d;
$custom-light: #c9f09a;
$custom-dark: #000000;
JSON
{
  "hex": "#afe96d",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 109
  },
  "hsl": {
    "h": 88.065,
    "s": 73.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86835,
    "c": 0.16595,
    "h": 130.1
  },
  "luminance": 0.68496
}

Semantic roles & 50–950 ramp

primary
#AFE96D
secondary
#793CBE
accent
#10D66C
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE96D

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

Preview Lab → · Contrast checker → · Palette generator →

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