#AFF28C#AFF28C

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

Color values

HEX#AFF28C
RGBrgb(175, 242, 140)
HSLhsl(99, 80%, 75%)
HSVhsv(99, 42%, 95%)
CMYKcmyk(27.7%, 0%, 42.1%, 5.1%)
CIE-LABlab(89.16, -38.75, 42.59)
CIE-LCHlch(89.16, 57.59, 132.30°)
OKLaboklab(89.31% -0.1063 0.1042)
OKLCHoklch(89.31% 0.149 135.6)
XYZxyz(54.1636, 74.5099, 36.3339)
Luminance0.7451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF28C #CF8CF2
analogous
#E2F28C #AFF28C #8CF29C
triadic
#AFF28C #8CAFF2 #F28CAF
tetradic
#AFF28C #8CE2F2 #CF8CF2 #F29C8C
square
#AFF28C #8CE2F2 #CF8CF2 #F29C8C
split-complementary
#AFF28C #9C8CF2 #F28CE2
monochromatic
#62E61E #89EC55 #AFF28C #D5F8C3 #ECFCE4

Accessibility & contrast

On white

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

On black

15.90
#AFF28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF28C
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF28C#FFFFFF#000000##000000
##AFF28C1.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aff28c;
/* rgb */ color: rgb(175, 242, 140);
/* oklch */ color: oklch(89.3% 0.149 135.6);
Tailwind
colors: {
  custom: {
    50: '#c9f6af',
    500: '#aff28c',
    950: '#000000',
  },
}
SCSS
$custom: #aff28c;
$custom-light: #c9f6af;
$custom-dark: #000000;
JSON
{
  "hex": "#aff28c",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 140
  },
  "hsl": {
    "h": 99.412,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.89313,
    "c": 0.14881,
    "h": 135.6
  },
  "luminance": 0.74512
}

Semantic roles & 50–950 ramp

primary
#AFF28C
secondary
#A454CE
accent
#0ADC94
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF28C

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

Preview Lab → · Contrast checker → · Palette generator →

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