#AFD472#AFD472

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

Color values

HEX#AFD472
RGBrgb(175, 212, 114)
HSLhsl(83, 53%, 64%)
HSVhsv(83, 46%, 83%)
CMYKcmyk(17.5%, 0%, 46.2%, 16.9%)
CIE-LABlab(80.41, -28.02, 44.31)
CIE-LCHlch(80.41, 52.43, 122.31°)
OKLaboklab(82.14% -0.0779 0.1067)
OKLCHoklch(82.14% 0.132 126.1)
XYZxyz(44.2597, 57.4154, 24.6668)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD472 #9772D4
analogous
#D4C872 #AFD472 #7ED472
triadic
#AFD472 #72AFD4 #D472AF
tetradic
#AFD472 #72D4C8 #9772D4 #D4727E
square
#AFD472 #72D4C8 #9772D4 #D4727E
split-complementary
#AFD472 #727ED4 #C872D4
monochromatic
#739C30 #94C643 #AFD472 #CAE2A1 #E4F1D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD472#FFFFFF#000000##000000
##AFD4721.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)
#DDC96A
Deuteranopia (green-blind)
#D8C778
Tritanopia (blue-blind)
#B4CCBD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd472;
/* rgb */ color: rgb(175, 212, 114);
/* oklch */ color: oklch(82.1% 0.132 126.1);
Tailwind
colors: {
  custom: {
    50: '#c8e19c',
    500: '#afd472',
    950: '#000000',
  },
}
SCSS
$custom: #afd472;
$custom-light: #c8e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd472",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 82.653,
    "s": 53.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82141,
    "c": 0.13211,
    "h": 126.1
  },
  "luminance": 0.57416
}

Semantic roles & 50–950 ramp

primary
#AFD472
secondary
#6A49A1
accent
#25C160
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD472

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

Preview Lab → · Contrast checker → · Palette generator →

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