#AFFF4F#AFFF4F

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

Color values

HEX#AFFF4F
RGBrgb(175, 255, 79)
HSLhsl(87, 100%, 65%)
HSVhsv(87, 69%, 100%)
CMYKcmyk(31.4%, 0%, 69%, 0%)
CIE-LABlab(92.22, -50.18, 72.56)
CIE-LCHlch(92.22, 88.22, 124.67°)
OKLaboklab(91.6% -0.1419 0.1638)
OKLCHoklch(91.6% 0.217 130.9)
XYZxyz(54.8500, 81.1966, 20.1782)
Luminance0.8120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF4F #9F4FFF
analogous
#FFF74F #AFFF4F #57FF4F
triadic
#AFFF4F #4FAFFF #FF4FAF
tetradic
#AFFF4F #4FFFF7 #9F4FFF #FF4F57
square
#AFFF4F #4FFFF7 #9F4FFF #FF4F57
split-complementary
#AFFF4F #4F57FF #F74FFF
monochromatic
#73D400 #93FF12 #AFFF4F #CBFF8C #E7FFC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFFF4F#FFFFFF#000000##000000
##AFFF4F1.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)
#FFED32
Deuteranopia (green-blind)
#FFE75F
Tritanopia (blue-blind)
#B2F4DC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #afff4f;
/* rgb */ color: rgb(175, 255, 79);
/* oklch */ color: oklch(91.6% 0.217 130.9);
Tailwind
colors: {
  custom: {
    50: '#ccff8a',
    500: '#afff4f',
    950: '#000000',
  },
}
SCSS
$custom: #afff4f;
$custom-light: #ccff8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afff4f",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 79
  },
  "hsl": {
    "h": 87.273,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.91597,
    "c": 0.21671,
    "h": 130.9
  },
  "luminance": 0.81198
}

Semantic roles & 50–950 ramp

primary
#AFFF4F
secondary
#7124CE
accent
#00E668
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14180C
muted
#83867F

Preview Lab

Preview with #AFFF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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