#AFE472#AFE472

#AFE472 is a very light, vivid yellow-green. Relative luminance 0.658; OKLCH L 85.8% C 0.154 H 129.7°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#AFE472
RGBrgb(175, 228, 114)
HSLhsl(88, 68%, 67%)
HSVhsv(88, 50%, 89%)
CMYKcmyk(23.2%, 0%, 50%, 10.6%)
CIE-LABlab(84.90, -35.48, 49.78)
CIE-LCHlch(84.90, 61.13, 125.48°)
OKLaboklab(85.76% -0.0987 0.1188)
OKLCHoklch(85.76% 0.154 129.7)
XYZxyz(48.4594, 65.8147, 26.0667)
Luminance0.6582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE472 #A772E4
analogous
#E4E072 #AFE472 #76E472
triadic
#AFE472 #72AFE4 #E472AF
tetradic
#AFE472 #72E4E0 #A772E4 #E47276
square
#AFE472 #72E4E0 #A772E4 #E47276
split-complementary
#AFE472 #7276E4 #E072E4
monochromatic
#73B823 #92DA3F #AFE472 #CCEEA5 #E9F8D9

Accessibility & contrast

On white

1.48
#AFE472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#AFE472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE472
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE472#FFFFFF#000000##000000
##AFE4721.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD668
Deuteranopia (green-blind)
#E5D379
Tritanopia (blue-blind)
#B3DCCA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe472;
/* rgb */ color: rgb(175, 228, 114);
/* oklch */ color: oklch(85.8% 0.154 129.7);
Tailwind
colors: {
  custom: {
    50: '#c9ec9d',
    500: '#afe472',
    950: '#000000',
  },
}
SCSS
$custom: #afe472;
$custom-light: #c9ec9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe472",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 114
  },
  "hsl": {
    "h": 87.895,
    "s": 67.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8576,
    "c": 0.15447,
    "h": 129.7
  },
  "luminance": 0.65816
}

Semantic roles & 50–950 ramp

primary
#AFE472
secondary
#7942B9
accent
#16D06C
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE472

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

Preview Lab → · Contrast checker → · Palette generator →

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