#AFE471#AFE471

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

Color values

HEX#AFE471
RGBrgb(175, 228, 113)
HSLhsl(88, 68%, 67%)
HSVhsv(88, 50%, 89%)
CMYKcmyk(23.2%, 0%, 50.4%, 10.6%)
CIE-LABlab(84.89, -35.59, 50.24)
CIE-LCHlch(84.89, 61.57, 125.31°)
OKLaboklab(85.75% -0.0991 0.1198)
OKLCHoklch(85.75% 0.155 129.6)
XYZxyz(48.4028, 65.7920, 25.7686)
Luminance0.6579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE471 #A671E4
analogous
#E4DF71 #AFE471 #76E471
triadic
#AFE471 #71AFE4 #E471AF
tetradic
#AFE471 #71E4DF #A671E4 #E47176
square
#AFE471 #71E4DF #A671E4 #E47176
split-complementary
#AFE471 #7176E4 #DF71E4
monochromatic
#73B823 #92DA3E #AFE471 #CCEEA4 #E9F8D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE471#FFFFFF#000000##000000
##AFE4711.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)
#EDD667
Deuteranopia (green-blind)
#E6D378
Tritanopia (blue-blind)
#B3DCCA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe471;
/* rgb */ color: rgb(175, 228, 113);
/* oklch */ color: oklch(85.7% 0.155 129.6);
Tailwind
colors: {
  custom: {
    50: '#c9ec9c',
    500: '#afe471',
    950: '#000000',
  },
}
SCSS
$custom: #afe471;
$custom-light: #c9ec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe471",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 113
  },
  "hsl": {
    "h": 87.652,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85747,
    "c": 0.15542,
    "h": 129.6
  },
  "luminance": 0.65793
}

Semantic roles & 50–950 ramp

primary
#AFE471
secondary
#7841B8
accent
#16D06B
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE471

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

Preview Lab → · Contrast checker → · Palette generator →

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