#AFE47F#AFE47F

#AFE47F is a very light, vivid yellow-green. Relative luminance 0.661; OKLCH L 85.9% C 0.142 H 131.5°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#AFE47F
RGBrgb(175, 228, 127)
HSLhsl(91, 65%, 70%)
HSVhsv(91, 44%, 89%)
CMYKcmyk(23.2%, 0%, 44.3%, 10.6%)
CIE-LABlab(85.06, -34.01, 43.75)
CIE-LCHlch(85.06, 55.42, 127.86°)
OKLaboklab(85.94% -0.0938 0.1062)
OKLCHoklch(85.94% 0.142 131.5)
XYZxyz(49.2526, 66.1320, 30.2444)
Luminance0.6613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE47F #B47FE4
analogous
#E2E47F #AFE47F #7FE482
triadic
#AFE47F #7FAFE4 #E47FAF
tetradic
#AFE47F #7FE2E4 #B47FE4 #E4827F
square
#AFE47F #7FE2E4 #B47FE4 #E4827F
split-complementary
#AFE47F #827FE4 #E47FE2
monochromatic
#71C029 #8FD94C #AFE47F #CFEFB2 #EEF9E4

Accessibility & contrast

On white

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

On black

14.23
#AFE47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE47F
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE47F#FFFFFF#000000##000000
##AFE47F1.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD777
Deuteranopia (green-blind)
#E4D385
Tritanopia (blue-blind)
#B1DDCC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe47f;
/* rgb */ color: rgb(175, 228, 127);
/* oklch */ color: oklch(85.9% 0.142 131.5);
Tailwind
colors: {
  custom: {
    50: '#c9eca6',
    500: '#afe47f',
    950: '#000000',
  },
}
SCSS
$custom: #afe47f;
$custom-light: #c9eca6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe47f",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 127
  },
  "hsl": {
    "h": 91.485,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85943,
    "c": 0.14166,
    "h": 131.5
  },
  "luminance": 0.66133
}

Semantic roles & 50–950 ramp

primary
#AFE47F
secondary
#864BBC
accent
#19CD77
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE47F

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

Preview Lab → · Contrast checker → · Palette generator →

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