#AFD471#AFD471

#AFD471 is a very light, vivid yellow-green. Relative luminance 0.574; OKLCH L 82.1% C 0.133 H 126.0°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#AFD471
RGBrgb(175, 212, 113)
HSLhsl(82, 54%, 64%)
HSVhsv(82, 47%, 83%)
CMYKcmyk(17.5%, 0%, 46.7%, 16.9%)
CIE-LABlab(80.40, -28.13, 44.78)
CIE-LCHlch(80.40, 52.88, 122.14°)
OKLaboklab(82.13% -0.0783 0.1077)
OKLCHoklch(82.13% 0.133 126)
XYZxyz(44.2031, 57.3927, 24.3687)
Luminance0.5739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD471 #9671D4
analogous
#D4C771 #AFD471 #7DD471
triadic
#AFD471 #71AFD4 #D471AF
tetradic
#AFD471 #71D4C7 #9671D4 #D4717D
square
#AFD471 #71D4C7 #9671D4 #D4717D
split-complementary
#AFD471 #717DD4 #C771D4
monochromatic
#739C2F #95C642 #AFD471 #C9E2A0 #E4F0CF

Accessibility & contrast

On white

1.68
#AFD471 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#AFD471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD471
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD471#FFFFFF#000000##000000
##AFD4711.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC969
Deuteranopia (green-blind)
#D8C777
Tritanopia (blue-blind)
#B4CCBD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd471;
/* rgb */ color: rgb(175, 212, 113);
/* oklch */ color: oklch(82.1% 0.133 126.0);
Tailwind
colors: {
  custom: {
    50: '#c8e19c',
    500: '#afd471',
    950: '#000000',
  },
}
SCSS
$custom: #afd471;
$custom-light: #c8e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd471",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 113
  },
  "hsl": {
    "h": 82.424,
    "s": 53.514,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82126,
    "c": 0.13312,
    "h": 126
  },
  "luminance": 0.57393
}

Semantic roles & 50–950 ramp

primary
#AFD471
secondary
#6A49A0
accent
#25C15F
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD471

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

Preview Lab → · Contrast checker → · Palette generator →

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