#AFFF50#AFFF50

#AFFF50 is a very light, highly saturated yellow-green. Relative luminance 0.812; OKLCH L 91.6% C 0.216 H 131.0°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#AFFF50
RGBrgb(175, 255, 80)
HSLhsl(87, 100%, 66%)
HSVhsv(87, 69%, 100%)
CMYKcmyk(31.4%, 0%, 68.6%, 0%)
CIE-LABlab(92.23, -50.12, 72.21)
CIE-LCHlch(92.23, 87.90, 124.76°)
OKLaboklab(91.6% -0.1417 0.1632)
OKLCHoklch(91.6% 0.216 131)
XYZxyz(54.8867, 81.2113, 20.3713)
Luminance0.8121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF50 #A050FF
analogous
#FFF850 #AFFF50 #57FF50
triadic
#AFFF50 #50AFFF #FF50AF
tetradic
#AFFF50 #50FFF8 #A050FF #FF5057
square
#AFFF50 #50FFF8 #A050FF #FF5057
split-complementary
#AFFF50 #5057FF #F850FF
monochromatic
#73D500 #93FF13 #AFFF50 #CBFF8D #E7FFCA

Accessibility & contrast

On white

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

On black

17.24
#AFFF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF50
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF50#FFFFFF#000000##000000
##AFFF501.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED34
Deuteranopia (green-blind)
#FFE75F
Tritanopia (blue-blind)
#B2F5DC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #afff50;
/* rgb */ color: rgb(175, 255, 80);
/* oklch */ color: oklch(91.6% 0.216 131.0);
Tailwind
colors: {
  custom: {
    50: '#ccff8a',
    500: '#afff50',
    950: '#000000',
  },
}
SCSS
$custom: #afff50;
$custom-light: #ccff8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afff50",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 80
  },
  "hsl": {
    "h": 87.429,
    "s": 100,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91604,
    "c": 0.2161,
    "h": 131
  },
  "luminance": 0.81213
}

Semantic roles & 50–950 ramp

primary
#AFFF50
secondary
#7224CF
accent
#00E669
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14180C
muted
#83867F

Preview Lab

Preview with #AFFF50

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

Preview Lab → · Contrast checker → · Palette generator →

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