#AFE96B#AFE96B

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

Color values

HEX#AFE96B
RGBrgb(175, 233, 107)
HSLhsl(88, 74%, 67%)
HSVhsv(88, 54%, 91%)
CMYKcmyk(24.9%, 0%, 54.1%, 8.6%)
CIE-LABlab(86.23, -38.46, 54.59)
CIE-LCHlch(86.23, 66.78, 125.16°)
OKLaboklab(86.81% -0.1075 0.1288)
OKLCHoklch(86.81% 0.168 129.8)
XYZxyz(49.4715, 68.4522, 24.5132)
Luminance0.6845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE96B #A56BE9
analogous
#E9E46B #AFE96B #70E96B
triadic
#AFE96B #6BAFE9 #E96BAF
tetradic
#AFE96B #6BE9E4 #A56BE9 #E96B70
square
#AFE96B #6BE9E4 #A56BE9 #E96B70
split-complementary
#AFE96B #6B70E9 #E46BE9
monochromatic
#73BD1C #92E136 #AFE96B #CCF1A0 #E9F9D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE96B#FFFFFF#000000##000000
##AFE96B1.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)
#F3DA5F
Deuteranopia (green-blind)
#EAD673
Tritanopia (blue-blind)
#B3E0CD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe96b;
/* rgb */ color: rgb(175, 233, 107);
/* oklch */ color: oklch(86.8% 0.168 129.8);
Tailwind
colors: {
  custom: {
    50: '#caf099',
    500: '#afe96b',
    950: '#000000',
  },
}
SCSS
$custom: #afe96b;
$custom-light: #caf099;
$custom-dark: #000000;
JSON
{
  "hex": "#afe96b",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 107
  },
  "hsl": {
    "h": 87.619,
    "s": 74.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86811,
    "c": 0.16774,
    "h": 129.8
  },
  "luminance": 0.68453
}

Semantic roles & 50–950 ramp

primary
#AFE96B
secondary
#773CBC
accent
#0FD66B
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE96B

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

Preview Lab → · Contrast checker → · Palette generator →

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