#AFF28B#AFF28B

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

Color values

HEX#AFF28B
RGBrgb(175, 242, 139)
HSLhsl(99, 80%, 75%)
HSVhsv(99, 43%, 95%)
CMYKcmyk(27.7%, 0%, 42.6%, 5.1%)
CIE-LABlab(89.15, -38.88, 43.06)
CIE-LCHlch(89.15, 58.02, 132.08°)
OKLaboklab(89.3% -0.1067 0.1052)
OKLCHoklch(89.3% 0.15 135.4)
XYZxyz(54.0902, 74.4805, 35.9474)
Luminance0.7448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF28B #CE8BF2
analogous
#E3F28B #AFF28B #8BF29B
triadic
#AFF28B #8BAFF2 #F28BAF
tetradic
#AFF28B #8BE3F2 #CE8BF2 #F29B8B
square
#AFF28B #8BE3F2 #CE8BF2 #F29B8B
split-complementary
#AFF28B #9B8BF2 #F28BE3
monochromatic
#63E61D #89EC54 #AFF28B #D5F8C2 #ECFCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFF28B#FFFFFF#000000##000000
##AFF28B1.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)
#F9E483
Deuteranopia (green-blind)
#EFDE91
Tritanopia (blue-blind)
#AEEBD9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #aff28b;
/* rgb */ color: rgb(175, 242, 139);
/* oklch */ color: oklch(89.3% 0.150 135.4);
Tailwind
colors: {
  custom: {
    50: '#c9f6ae',
    500: '#aff28b',
    950: '#000000',
  },
}
SCSS
$custom: #aff28b;
$custom-light: #c9f6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#aff28b",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 139
  },
  "hsl": {
    "h": 99.029,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.89297,
    "c": 0.14981,
    "h": 135.4
  },
  "luminance": 0.74482
}

Semantic roles & 50–950 ramp

primary
#AFF28B
secondary
#A353CE
accent
#09DC92
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF28B

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

Preview Lab → · Contrast checker → · Palette generator →

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