#AFFF22#AFFF22

#AFFF22 is a very light, highly saturated yellow-green. Relative luminance 0.807; OKLCH L 91.4% C 0.237 H 129.3°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#AFFF22
RGBrgb(175, 255, 34)
HSLhsl(82, 100%, 57%)
HSVhsv(82, 87%, 100%)
CMYKcmyk(31.4%, 0%, 86.7%, 0%)
CIE-LABlab(92.02, -52.18, 84.65)
CIE-LCHlch(92.02, 99.44, 121.65°)
OKLaboklab(91.37% -0.15 0.183)
OKLCHoklch(91.37% 0.237 129.3)
XYZxyz(53.7279, 80.7478, 14.2682)
Luminance0.8075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF22 #7222FF
analogous
#FFE022 #AFFF22 #41FF22
triadic
#AFFF22 #22AFFF #FF22AF
tetradic
#AFFF22 #22FFE0 #7222FF #FF2241
square
#AFFF22 #22FFE0 #7222FF #FF2241
split-complementary
#AFFF22 #2241FF #E022FF
monochromatic
#6AA700 #91E400 #AFFF22 #C5FF5F #DBFF9C

Accessibility & contrast

On white

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

On black

17.15
#AFFF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF22
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF22#FFFFFF#000000##000000
##AFFF221.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC00
Deuteranopia (green-blind)
#FFE641
Tritanopia (blue-blind)
#B4F3DA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #afff22;
/* rgb */ color: rgb(175, 255, 34);
/* oklch */ color: oklch(91.4% 0.237 129.3);
Tailwind
colors: {
  custom: {
    50: '#cdff77',
    500: '#afff22',
    950: '#000000',
  },
}
SCSS
$custom: #afff22;
$custom-light: #cdff77;
$custom-dark: #000000;
JSON
{
  "hex": "#afff22",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 34
  },
  "hsl": {
    "h": 81.719,
    "s": 100,
    "l": 56.667
  },
  "oklch": {
    "l": 0.9137,
    "c": 0.23663,
    "h": 129.3
  },
  "luminance": 0.80749
}

Semantic roles & 50–950 ramp

primary
#AFFF22
secondary
#501EA8
accent
#29FF76
background
#FEFFFB
surface
#FBFFF2
border
#D4D7CC
text
#14180A
muted
#83867D

Preview Lab

Preview with #AFFF22

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

Preview Lab → · Contrast checker → · Palette generator →

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