#AFE47B#AFE47B

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

Color values

HEX#AFE47B
RGBrgb(175, 228, 123)
HSLhsl(90, 66%, 69%)
HSVhsv(90, 46%, 89%)
CMYKcmyk(23.2%, 0%, 46.1%, 10.6%)
CIE-LABlab(85.01, -34.48, 45.63)
CIE-LCHlch(85.01, 57.19, 127.08°)
OKLaboklab(85.88% -0.0953 0.1102)
OKLCHoklch(85.88% 0.146 130.9)
XYZxyz(48.9971, 66.0297, 28.8986)
Luminance0.6603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE47B #B07BE4
analogous
#E4E47B #AFE47B #7BE47C
triadic
#AFE47B #7BAFE4 #E47BAF
tetradic
#AFE47B #7BE4E4 #B07BE4 #E47C7B
square
#AFE47B #7BE4E4 #B07BE4 #E47C7B
split-complementary
#AFE47B #7C7BE4 #E47BE4
monochromatic
#72BE27 #90DA48 #AFE47B #CEEEAE #EDF9E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE47B#FFFFFF#000000##000000
##AFE47B1.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)
#ECD772
Deuteranopia (green-blind)
#E5D381
Tritanopia (blue-blind)
#B2DCCB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe47b;
/* rgb */ color: rgb(175, 228, 123);
/* oklch */ color: oklch(85.9% 0.146 130.9);
Tailwind
colors: {
  custom: {
    50: '#c9eca3',
    500: '#afe47b',
    950: '#000000',
  },
}
SCSS
$custom: #afe47b;
$custom-light: #c9eca3;
$custom-dark: #000000;
JSON
{
  "hex": "#afe47b",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 123
  },
  "hsl": {
    "h": 90.286,
    "s": 66.038,
    "l": 68.824
  },
  "oklch": {
    "l": 0.85884,
    "c": 0.1457,
    "h": 130.9
  },
  "luminance": 0.66031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFE47B

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

Preview Lab → · Contrast checker → · Palette generator →

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