#AFF972#AFF972

#AFF972 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 90.5% C 0.183 H 132.9°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#AFF972
RGBrgb(175, 249, 114)
HSLhsl(93, 92%, 71%)
HSVhsv(93, 54%, 98%)
CMYKcmyk(29.7%, 0%, 54.2%, 2.4%)
CIE-LABlab(90.82, -44.79, 56.81)
CIE-LCHlch(90.82, 72.35, 128.25°)
OKLaboklab(90.55% -0.1245 0.1342)
OKLCHoklch(90.55% 0.183 132.9)
XYZxyz(54.5912, 78.0784, 28.1107)
Luminance0.7808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF972 #BC72F9
analogous
#F2F972 #AFF972 #72F978
triadic
#AFF972 #72AFF9 #F972AF
tetradic
#AFF972 #72F2F9 #BC72F9 #F97872
square
#AFF972 #72F2F9 #BC72F9 #F97872
split-complementary
#AFF972 #7872F9 #F972F2
monochromatic
#6EE70A #8EF737 #AFF972 #D0FBAD #EEFEE2

Accessibility & contrast

On white

1.26
#AFF972 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#AFF972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF972
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF972#FFFFFF#000000##000000
##AFF9721.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE865
Deuteranopia (green-blind)
#F8E37B
Tritanopia (blue-blind)
#B0F0DB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #aff972;
/* rgb */ color: rgb(175, 249, 114);
/* oklch */ color: oklch(90.5% 0.183 132.9);
Tailwind
colors: {
  custom: {
    50: '#cafb9e',
    500: '#aff972',
    950: '#000000',
  },
}
SCSS
$custom: #aff972;
$custom-light: #cafb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#aff972",
  "rgb": {
    "r": 175,
    "g": 249,
    "b": 114
  },
  "hsl": {
    "h": 92.889,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.9055,
    "c": 0.18302,
    "h": 132.9
  },
  "luminance": 0.7808
}

Semantic roles & 50–950 ramp

primary
#AFF972
secondary
#8F3BD4
accent
#00E67E
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFF972

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

Preview Lab → · Contrast checker → · Palette generator →

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