#AFF96C#AFF96C

#AFF96C is a very light, vivid yellow-green. Relative luminance 0.779; OKLCH L 90.5% C 0.188 H 132.3°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#AFF96C
RGBrgb(175, 249, 108)
HSLhsl(91, 92%, 70%)
HSVhsv(91, 57%, 98%)
CMYKcmyk(29.7%, 0%, 56.6%, 2.4%)
CIE-LABlab(90.76, -45.37, 59.39)
CIE-LCHlch(90.76, 74.74, 127.38°)
OKLaboklab(90.48% -0.1265 0.1392)
OKLCHoklch(90.48% 0.188 132.3)
XYZxyz(54.2609, 77.9463, 26.3707)
Luminance0.7795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF96C #B66CF9
analogous
#F6F96C #AFF96C #6CF96F
triadic
#AFF96C #6CAFF9 #F96CAF
tetradic
#AFF96C #6CF6F9 #B66CF9 #F96F6C
square
#AFF96C #6CF6F9 #B66CF9 #F96F6C
split-complementary
#AFF96C #6F6CF9 #F96CF6
monochromatic
#70E109 #8FF731 #AFF96C #CFFBA7 #EFFEE2

Accessibility & contrast

On white

1.27
#AFF96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#AFF96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF96C
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF96C#FFFFFF#000000##000000
##AFF96C1.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85D
Deuteranopia (green-blind)
#F8E276
Tritanopia (blue-blind)
#B1F0DA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff96c;
/* rgb */ color: rgb(175, 249, 108);
/* oklch */ color: oklch(90.5% 0.188 132.3);
Tailwind
colors: {
  custom: {
    50: '#cafb9a',
    500: '#aff96c',
    950: '#000000',
  },
}
SCSS
$custom: #aff96c;
$custom-light: #cafb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#aff96c",
  "rgb": {
    "r": 175,
    "g": 249,
    "b": 108
  },
  "hsl": {
    "h": 91.489,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.90481,
    "c": 0.18812,
    "h": 132.3
  },
  "luminance": 0.77948
}

Semantic roles & 50–950 ramp

primary
#AFF96C
secondary
#8936D4
accent
#00E678
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFF96C

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

Preview Lab → · Contrast checker → · Palette generator →

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