#AFE28F#AFE28F

#AFE28F is a very light, vivid yellow-green. Relative luminance 0.655; OKLCH L 85.8% C 0.122 H 134.1°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#AFE28F
RGBrgb(175, 226, 143)
HSLhsl(97, 59%, 72%)
HSVhsv(97, 37%, 89%)
CMYKcmyk(22.6%, 0%, 36.7%, 11.4%)
CIE-LABlab(84.73, -31.03, 35.39)
CIE-LCHlch(84.73, 47.06, 131.24°)
OKLaboklab(85.75% -0.0848 0.0876)
OKLCHoklch(85.75% 0.122 134.1)
XYZxyz(49.8324, 65.4886, 35.9964)
Luminance0.6549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE28F #C28FE2
analogous
#D9E28F #AFE28F #8FE298
triadic
#AFE28F #8FAFE2 #E28FAF
tetradic
#AFE28F #8FD9E2 #C28FE2 #E2988F
square
#AFE28F #8FD9E2 #C28FE2 #E2988F
split-complementary
#AFE28F #988FE2 #E28FD9
monochromatic
#6BC433 #8CD55E #AFE28F #D2EFC0 #EEF9E7

Accessibility & contrast

On white

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

On black

14.10
#AFE28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE28F
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE28F#FFFFFF#000000##000000
##AFE28F1.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D689
Deuteranopia (green-blind)
#E1D293
Tritanopia (blue-blind)
#AFDCCD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe28f;
/* rgb */ color: rgb(175, 226, 143);
/* oklch */ color: oklch(85.8% 0.122 134.1);
Tailwind
colors: {
  custom: {
    50: '#c8ebb0',
    500: '#afe28f',
    950: '#000000',
  },
}
SCSS
$custom: #afe28f;
$custom-light: #c8ebb0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe28f",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 143
  },
  "hsl": {
    "h": 96.867,
    "s": 58.865,
    "l": 72.353
  },
  "oklch": {
    "l": 0.85753,
    "c": 0.12194,
    "h": 134.1
  },
  "luminance": 0.6549
}

Semantic roles & 50–950 ramp

primary
#AFE28F
secondary
#965BBB
accent
#1FC686
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE28F

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

Preview Lab → · Contrast checker → · Palette generator →

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