#AFFF59#AFFF59

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

Color values

HEX#AFFF59
RGBrgb(175, 255, 89)
HSLhsl(89, 100%, 67%)
HSVhsv(89, 65%, 100%)
CMYKcmyk(31.4%, 0%, 65.1%, 0%)
CIE-LABlab(92.29, -49.50, 68.92)
CIE-LCHlch(92.29, 84.85, 125.69°)
OKLaboklab(91.68% -0.1393 0.1574)
OKLCHoklch(91.68% 0.21 131.5)
XYZxyz(55.2418, 81.3533, 22.2414)
Luminance0.8135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF59 #A959FF
analogous
#FFFC59 #AFFF59 #5CFF59
triadic
#AFFF59 #59AFFF #FF59AF
tetradic
#AFFF59 #59FFFC #A959FF #FF595C
square
#AFFF59 #59FFFC #A959FF #FF595C
split-complementary
#AFFF59 #595CFF #FC59FF
monochromatic
#73DE00 #92FF1C #AFFF59 #CCFF96 #EAFFD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFFF59#FFFFFF#000000##000000
##AFFF591.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)
#FFED43
Deuteranopia (green-blind)
#FEE767
Tritanopia (blue-blind)
#B2F5DD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #afff59;
/* rgb */ color: rgb(175, 255, 89);
/* oklch */ color: oklch(91.7% 0.210 131.5);
Tailwind
colors: {
  custom: {
    50: '#cbff8f',
    500: '#afff59',
    950: '#000000',
  },
}
SCSS
$custom: #afff59;
$custom-light: #cbff8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afff59",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 89
  },
  "hsl": {
    "h": 88.916,
    "s": 100,
    "l": 67.451
  },
  "oklch": {
    "l": 0.91676,
    "c": 0.2102,
    "h": 131.5
  },
  "luminance": 0.81355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFFF59

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

Preview Lab → · Contrast checker → · Palette generator →

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