#AFE28E#AFE28E

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

Color values

HEX#AFE28E
RGBrgb(175, 226, 142)
HSLhsl(96, 59%, 72%)
HSVhsv(96, 37%, 89%)
CMYKcmyk(22.6%, 0%, 37.2%, 11.4%)
CIE-LABlab(84.72, -31.16, 35.87)
CIE-LCHlch(84.72, 47.52, 130.98°)
OKLaboklab(85.74% -0.0852 0.0887)
OKLCHoklch(85.74% 0.123 133.8)
XYZxyz(49.7569, 65.4585, 35.5992)
Luminance0.6546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE28E #C18EE2
analogous
#D9E28E #AFE28E #8EE297
triadic
#AFE28E #8EAFE2 #E28EAF
tetradic
#AFE28E #8ED9E2 #C18EE2 #E2978E
square
#AFE28E #8ED9E2 #C18EE2 #E2978E
split-complementary
#AFE28E #978EE2 #E28ED9
monochromatic
#6BC332 #8DD65D #AFE28E #D1EEBF #EEF9E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE28E#FFFFFF#000000##000000
##AFE28E1.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)
#E8D688
Deuteranopia (green-blind)
#E1D293
Tritanopia (blue-blind)
#B0DCCD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe28e;
/* rgb */ color: rgb(175, 226, 142);
/* oklch */ color: oklch(85.7% 0.123 133.8);
Tailwind
colors: {
  custom: {
    50: '#c8ebb0',
    500: '#afe28e',
    950: '#000000',
  },
}
SCSS
$custom: #afe28e;
$custom-light: #c8ebb0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe28e",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 142
  },
  "hsl": {
    "h": 96.429,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.85736,
    "c": 0.12302,
    "h": 133.8
  },
  "luminance": 0.6546
}

Semantic roles & 50–950 ramp

primary
#AFE28E
secondary
#945ABB
accent
#1FC785
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE28E

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

Preview Lab → · Contrast checker → · Palette generator →

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