#AFD473#AFD473

#AFD473 is a very light, vivid yellow-green. Relative luminance 0.574; OKLCH L 82.2% C 0.131 H 126.3°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#AFD473
RGBrgb(175, 212, 115)
HSLhsl(83, 53%, 64%)
HSVhsv(83, 46%, 83%)
CMYKcmyk(17.5%, 0%, 45.8%, 16.9%)
CIE-LABlab(80.43, -27.91, 43.83)
CIE-LCHlch(80.43, 51.97, 122.49°)
OKLaboklab(82.16% -0.0775 0.1057)
OKLCHoklch(82.16% 0.131 126.3)
XYZxyz(44.3170, 57.4383, 24.9682)
Luminance0.5744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD473 #9873D4
analogous
#D4C973 #AFD473 #7FD473
triadic
#AFD473 #73AFD4 #D473AF
tetradic
#AFD473 #73D4C9 #9873D4 #D4737F
square
#AFD473 #73D4C9 #9873D4 #D4737F
split-complementary
#AFD473 #737FD4 #C973D4
monochromatic
#739D30 #94C644 #AFD473 #CAE2A2 #E5F1D1

Accessibility & contrast

On white

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

On black

12.49
#AFD473 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD473
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD473#FFFFFF#000000##000000
##AFD4731.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96B
Deuteranopia (green-blind)
#D8C778
Tritanopia (blue-blind)
#B4CCBD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd473;
/* rgb */ color: rgb(175, 212, 115);
/* oklch */ color: oklch(82.2% 0.131 126.3);
Tailwind
colors: {
  custom: {
    50: '#c8e19d',
    500: '#afd473',
    950: '#000000',
  },
}
SCSS
$custom: #afd473;
$custom-light: #c8e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd473",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 115
  },
  "hsl": {
    "h": 82.887,
    "s": 53.005,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82155,
    "c": 0.13107,
    "h": 126.3
  },
  "luminance": 0.57439
}

Semantic roles & 50–950 ramp

primary
#AFD473
secondary
#6B4AA1
accent
#25C060
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD473

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

Preview Lab → · Contrast checker → · Palette generator →

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