#AFE28D#AFE28D

#AFE28D is a very light, vivid yellow-green. Relative luminance 0.654; OKLCH L 85.7% C 0.124 H 133.6°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#AFE28D
RGBrgb(175, 226, 141)
HSLhsl(96, 59%, 72%)
HSVhsv(96, 38%, 89%)
CMYKcmyk(22.6%, 0%, 37.6%, 11.4%)
CIE-LABlab(84.70, -31.30, 36.36)
CIE-LCHlch(84.70, 47.97, 130.73°)
OKLaboklab(85.72% -0.0856 0.0898)
OKLCHoklch(85.72% 0.124 133.6)
XYZxyz(49.6822, 65.4286, 35.2056)
Luminance0.6543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE28D #C08DE2
analogous
#DAE28D #AFE28D #8DE296
triadic
#AFE28D #8DAFE2 #E28DAF
tetradic
#AFE28D #8DDAE2 #C08DE2 #E2968D
square
#AFE28D #8DDAE2 #C08DE2 #E2968D
split-complementary
#AFE28D #968DE2 #E28DDA
monochromatic
#6CC332 #8DD65C #AFE28D #D1EEBE #EEF9E7

Accessibility & contrast

On white

1.49
#AFE28D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#AFE28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE28D
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE28D#FFFFFF#000000##000000
##AFE28D1.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D687
Deuteranopia (green-blind)
#E1D292
Tritanopia (blue-blind)
#B0DCCD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe28d;
/* rgb */ color: rgb(175, 226, 141);
/* oklch */ color: oklch(85.7% 0.124 133.6);
Tailwind
colors: {
  custom: {
    50: '#c8ebaf',
    500: '#afe28d',
    950: '#000000',
  },
}
SCSS
$custom: #afe28d;
$custom-light: #c8ebaf;
$custom-dark: #000000;
JSON
{
  "hex": "#afe28d",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 141
  },
  "hsl": {
    "h": 96,
    "s": 59.441,
    "l": 71.961
  },
  "oklch": {
    "l": 0.85719,
    "c": 0.12409,
    "h": 133.6
  },
  "luminance": 0.6543
}

Semantic roles & 50–950 ramp

primary
#AFE28D
secondary
#9359BA
accent
#1EC784
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE28D

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

Preview Lab → · Contrast checker → · Palette generator →

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