#AFF172#AFF172

#AFF172 is a very light, vivid yellow-green. Relative luminance 0.732; OKLCH L 88.7% C 0.172 H 131.8°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#AFF172
RGBrgb(175, 241, 114)
HSLhsl(91, 82%, 70%)
HSVhsv(91, 53%, 95%)
CMYKcmyk(27.4%, 0%, 52.7%, 5.5%)
CIE-LABlab(88.56, -41.31, 54.16)
CIE-LCHlch(88.56, 68.11, 127.33°)
OKLaboklab(88.72% -0.1148 0.1284)
OKLCHoklch(88.72% 0.172 131.8)
XYZxyz(52.1710, 73.2380, 27.3039)
Luminance0.7324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF172 #B472F1
analogous
#EEF172 #AFF172 #72F175
triadic
#AFF172 #72AFF1 #F172AF
tetradic
#AFF172 #72EEF1 #B472F1 #F17572
square
#AFF172 #72EEF1 #B472F1 #F17572
split-complementary
#AFF172 #7572F1 #F172EE
monochromatic
#71D415 #8FEB3A #AFF172 #CFF7AA #EEFCE1

Accessibility & contrast

On white

1.34
#AFF172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.65
#AFF172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF172
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF172#FFFFFF#000000##000000
##AFF1721.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE266
Deuteranopia (green-blind)
#F1DD7A
Tritanopia (blue-blind)
#B1E8D4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #aff172;
/* rgb */ color: rgb(175, 241, 114);
/* oklch */ color: oklch(88.7% 0.172 131.8);
Tailwind
colors: {
  custom: {
    50: '#caf69e',
    500: '#aff172',
    950: '#000000',
  },
}
SCSS
$custom: #aff172;
$custom-light: #caf69e;
$custom-dark: #000000;
JSON
{
  "hex": "#aff172",
  "rgb": {
    "r": 175,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 91.181,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88721,
    "c": 0.17228,
    "h": 131.8
  },
  "luminance": 0.73239
}

Semantic roles & 50–950 ramp

primary
#AFF172
secondary
#863DCA
accent
#07DE77
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFF172

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

Preview Lab → · Contrast checker → · Palette generator →

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