#AFE47D#AFE47D

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

Color values

HEX#AFE47D
RGBrgb(175, 228, 125)
HSLhsl(91, 66%, 69%)
HSVhsv(91, 45%, 89%)
CMYKcmyk(23.2%, 0%, 45.2%, 10.6%)
CIE-LABlab(85.04, -34.25, 44.69)
CIE-LCHlch(85.04, 56.31, 127.46°)
OKLaboklab(85.91% -0.0946 0.1082)
OKLCHoklch(85.91% 0.144 131.2)
XYZxyz(49.1236, 66.0803, 29.5647)
Luminance0.6608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE47D #B27DE4
analogous
#E2E47D #AFE47D #7DE47F
triadic
#AFE47D #7DAFE4 #E47DAF
tetradic
#AFE47D #7DE2E4 #B27DE4 #E47F7D
square
#AFE47D #7DE2E4 #B27DE4 #E47F7D
split-complementary
#AFE47D #7F7DE4 #E47DE2
monochromatic
#71BF28 #90D94A #AFE47D #CEEFB0 #EDF9E2

Accessibility & contrast

On white

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

On black

14.22
#AFE47D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE47D
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE47D#FFFFFF#000000##000000
##AFE47D1.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD775
Deuteranopia (green-blind)
#E4D383
Tritanopia (blue-blind)
#B1DCCC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe47d;
/* rgb */ color: rgb(175, 228, 125);
/* oklch */ color: oklch(85.9% 0.144 131.2);
Tailwind
colors: {
  custom: {
    50: '#c9eca4',
    500: '#afe47d',
    950: '#000000',
  },
}
SCSS
$custom: #afe47d;
$custom-light: #c9eca4;
$custom-dark: #000000;
JSON
{
  "hex": "#afe47d",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 125
  },
  "hsl": {
    "h": 90.874,
    "s": 65.605,
    "l": 69.216
  },
  "oklch": {
    "l": 0.85913,
    "c": 0.14369,
    "h": 131.2
  },
  "luminance": 0.66081
}

Semantic roles & 50–950 ramp

primary
#AFE47D
secondary
#8449BC
accent
#18CD75
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE47D

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

Preview Lab → · Contrast checker → · Palette generator →

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