#AFFF5A#AFFF5A

#AFFF5A is a very light, highly saturated yellow-green. Relative luminance 0.814; OKLCH L 91.7% C 0.209 H 131.6°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#AFFF5A
RGBrgb(175, 255, 90)
HSLhsl(89, 100%, 68%)
HSVhsv(89, 65%, 100%)
CMYKcmyk(31.4%, 0%, 64.7%, 0%)
CIE-LABlab(92.30, -49.42, 68.54)
CIE-LCHlch(92.30, 84.50, 125.79°)
OKLaboklab(91.68% -0.139 0.1568)
OKLCHoklch(91.68% 0.21 131.6)
XYZxyz(55.2840, 81.3702, 22.4641)
Luminance0.8137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF5A #AA5AFF
analogous
#FFFD5A #AFFF5A #5CFF5A
triadic
#AFFF5A #5AAFFF #FF5AAF
tetradic
#AFFF5A #5AFFFD #AA5AFF #FF5A5C
square
#AFFF5A #5AFFFD #AA5AFF #FF5A5C
split-complementary
#AFFF5A #5A5CFF #FD5AFF
monochromatic
#73DF00 #91FF1D #AFFF5A #CDFF97 #EAFFD4

Accessibility & contrast

On white

1.22
#AFFF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#AFFF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF5A
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF5A#FFFFFF#000000##000000
##AFFF5A1.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED44
Deuteranopia (green-blind)
#FEE767
Tritanopia (blue-blind)
#B2F5DD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #afff5a;
/* rgb */ color: rgb(175, 255, 90);
/* oklch */ color: oklch(91.7% 0.209 131.6);
Tailwind
colors: {
  custom: {
    50: '#cbff90',
    500: '#afff5a',
    950: '#000000',
  },
}
SCSS
$custom: #afff5a;
$custom-light: #cbff90;
$custom-dark: #000000;
JSON
{
  "hex": "#afff5a",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 90
  },
  "hsl": {
    "h": 89.091,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.91684,
    "c": 0.2095,
    "h": 131.6
  },
  "luminance": 0.81372
}

Semantic roles & 50–950 ramp

primary
#AFFF5A
secondary
#7C26D7
accent
#00E66F
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14180D
muted
#83867F

Preview Lab

Preview with #AFFF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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