#AFE47C#AFE47C

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

Color values

HEX#AFE47C
RGBrgb(175, 228, 124)
HSLhsl(91, 66%, 69%)
HSVhsv(91, 46%, 89%)
CMYKcmyk(23.2%, 0%, 45.6%, 10.6%)
CIE-LABlab(85.02, -34.37, 45.16)
CIE-LCHlch(85.02, 56.75, 127.27°)
OKLaboklab(85.9% -0.0949 0.1092)
OKLCHoklch(85.9% 0.145 131)
XYZxyz(49.0600, 66.0549, 29.2300)
Luminance0.6606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE47C #B17CE4
analogous
#E3E47C #AFE47C #7CE47D
triadic
#AFE47C #7CAFE4 #E47CAF
tetradic
#AFE47C #7CE3E4 #B17CE4 #E47D7C
square
#AFE47C #7CE3E4 #B17CE4 #E47D7C
split-complementary
#AFE47C #7D7CE4 #E47CE3
monochromatic
#71BE27 #90DA49 #AFE47C #CEEEAF #EDF9E1

Accessibility & contrast

On white

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

On black

14.21
#AFE47C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE47C
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE47C#FFFFFF#000000##000000
##AFE47C1.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD774
Deuteranopia (green-blind)
#E4D382
Tritanopia (blue-blind)
#B2DCCB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe47c;
/* rgb */ color: rgb(175, 228, 124);
/* oklch */ color: oklch(85.9% 0.145 131.0);
Tailwind
colors: {
  custom: {
    50: '#c9eca4',
    500: '#afe47c',
    950: '#000000',
  },
}
SCSS
$custom: #afe47c;
$custom-light: #c9eca4;
$custom-dark: #000000;
JSON
{
  "hex": "#afe47c",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 124
  },
  "hsl": {
    "h": 90.577,
    "s": 65.823,
    "l": 69.02
  },
  "oklch": {
    "l": 0.85899,
    "c": 0.14469,
    "h": 131
  },
  "luminance": 0.66056
}

Semantic roles & 50–950 ramp

primary
#AFE47C
secondary
#8349BC
accent
#18CE74
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE47C

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

Preview Lab → · Contrast checker → · Palette generator →

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