#AFF28A#AFF28A

#AFF28A is a very light, vivid yellow-green. Relative luminance 0.745; OKLCH L 89.3% C 0.151 H 135.2°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#AFF28A
RGBrgb(175, 242, 138)
HSLhsl(99, 80%, 75%)
HSVhsv(99, 43%, 95%)
CMYKcmyk(27.7%, 0%, 43%, 5.1%)
CIE-LABlab(89.14, -39.01, 43.53)
CIE-LCHlch(89.14, 58.45, 131.86°)
OKLaboklab(89.28% -0.1071 0.1062)
OKLCHoklch(89.28% 0.151 135.2)
XYZxyz(54.0175, 74.4514, 35.5643)
Luminance0.7445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF28A #CD8AF2
analogous
#E3F28A #AFF28A #8AF299
triadic
#AFF28A #8AAFF2 #F28AAF
tetradic
#AFF28A #8AE3F2 #CD8AF2 #F2998A
square
#AFF28A #8AE3F2 #CD8AF2 #F2998A
split-complementary
#AFF28A #998AF2 #F28AE3
monochromatic
#64E61C #89EC53 #AFF28A #D5F8C1 #ECFCE3

Accessibility & contrast

On white

1.32
#AFF28A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#AFF28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF28A
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF28A#FFFFFF#000000##000000
##AFF28A1.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E482
Deuteranopia (green-blind)
#EFDE90
Tritanopia (blue-blind)
#AEEBD9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #aff28a;
/* rgb */ color: rgb(175, 242, 138);
/* oklch */ color: oklch(89.3% 0.151 135.2);
Tailwind
colors: {
  custom: {
    50: '#c9f6ad',
    500: '#aff28a',
    950: '#000000',
  },
}
SCSS
$custom: #aff28a;
$custom-light: #c9f6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#aff28a",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 138
  },
  "hsl": {
    "h": 98.654,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.89281,
    "c": 0.15081,
    "h": 135.2
  },
  "luminance": 0.74453
}

Semantic roles & 50–950 ramp

primary
#AFF28A
secondary
#A252CE
accent
#09DC91
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF28A

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

Preview Lab → · Contrast checker → · Palette generator →

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