#AFFF72#AFFF72

#AFFF72 is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 91.9% C 0.191 H 133.5°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#AFFF72
RGBrgb(175, 255, 114)
HSLhsl(94, 100%, 72%)
HSVhsv(94, 55%, 100%)
CMYKcmyk(31.4%, 0%, 55.3%, 0%)
CIE-LABlab(92.51, -47.35, 58.79)
CIE-LCHlch(92.51, 75.49, 128.85°)
OKLaboklab(91.92% -0.1315 0.1385)
OKLCHoklch(91.92% 0.191 133.5)
XYZxyz(56.4754, 81.8468, 28.7387)
Luminance0.8185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF72 #C272FF
analogous
#F5FF72 #AFFF72 #72FF7C
triadic
#AFFF72 #72AFFF #FF72AF
tetradic
#AFFF72 #72F5FF #C272FF #FF7C72
square
#AFFF72 #72F5FF #C272FF #FF7C72
split-complementary
#AFFF72 #7C72FF #FF72F5
monochromatic
#6BF700 #8CFF35 #AFFF72 #D2FFAF #EEFFE0

Accessibility & contrast

On white

1.21
#AFFF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.37
#AFFF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF72
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF72#FFFFFF#000000##000000
##AFFF721.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE64
Deuteranopia (green-blind)
#FDE77C
Tritanopia (blue-blind)
#AFF6E0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #afff72;
/* rgb */ color: rgb(175, 255, 114);
/* oklch */ color: oklch(91.9% 0.191 133.5);
Tailwind
colors: {
  custom: {
    50: '#cbff9e',
    500: '#afff72',
    950: '#000000',
  },
}
SCSS
$custom: #afff72;
$custom-light: #cbff9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afff72",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 114
  },
  "hsl": {
    "h": 94.043,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91924,
    "c": 0.19097,
    "h": 133.5
  },
  "luminance": 0.81849
}

Semantic roles & 50–950 ramp

primary
#AFFF72
secondary
#9639DC
accent
#00E682
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFF72

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

Preview Lab → · Contrast checker → · Palette generator →

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