#AFF22F#AFF22F

#AFF22F is a very light, highly saturated yellow-green. Relative luminance 0.728; OKLCH L 88.4% C 0.218 H 127.9°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#AFF22F
RGBrgb(175, 242, 47)
HSLhsl(81, 88%, 57%)
HSVhsv(81, 81%, 95%)
CMYKcmyk(27.7%, 0%, 80.6%, 5.1%)
CIE-LABlab(88.36, -46.36, 78.72)
CIE-LCHlch(88.36, 91.36, 120.50°)
OKLaboklab(88.41% -0.1337 0.1721)
OKLCHoklch(88.41% 0.218 127.9)
XYZxyz(49.9445, 72.8223, 14.1135)
Luminance0.7282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF22F #722FF2
analogous
#F2D32F #AFF22F #4EF22F
triadic
#AFF22F #2FAFF2 #F22FAF
tetradic
#AFF22F #2FF2D3 #722FF2 #F22F4E
square
#AFF22F #2FF2D3 #722FF2 #F22F4E
split-complementary
#AFF22F #2F4EF2 #D32FF2
monochromatic
#6A9D0A #91D60D #AFF22F #C5F669 #DBF9A2

Accessibility & contrast

On white

1.35
#AFF22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.56
#AFF22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF22F
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF22F#FFFFFF#000000##000000
##AFF22F1.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE100
Deuteranopia (green-blind)
#F5DC46
Tritanopia (blue-blind)
#B6E7CF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #aff22f;
/* rgb */ color: rgb(175, 242, 47);
/* oklch */ color: oklch(88.4% 0.218 127.9);
Tailwind
colors: {
  custom: {
    50: '#ccf679',
    500: '#aff22f',
    950: '#000000',
  },
}
SCSS
$custom: #aff22f;
$custom-light: #ccf679;
$custom-dark: #000000;
JSON
{
  "hex": "#aff22f",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 47
  },
  "hsl": {
    "h": 80.615,
    "s": 88.235,
    "l": 56.667
  },
  "oklch": {
    "l": 0.88406,
    "c": 0.21793,
    "h": 127.9
  },
  "luminance": 0.72823
}

Semantic roles & 50–950 ramp

primary
#AFF22F
secondary
#5026A0
accent
#29FE73
background
#FEFFFB
surface
#FBFEF2
border
#D4D6CC
text
#14170A
muted
#83857D

Preview Lab

Preview with #AFF22F

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

Preview Lab → · Contrast checker → · Palette generator →

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