#AFFF79#AFFF79

#AFFF79 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.0% C 0.185 H 134.3°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#AFFF79
RGBrgb(175, 255, 121)
HSLhsl(96, 100%, 74%)
HSVhsv(96, 53%, 100%)
CMYKcmyk(31.4%, 0%, 52.5%, 0%)
CIE-LABlab(92.58, -46.65, 55.75)
CIE-LCHlch(92.58, 72.69, 129.92°)
OKLaboklab(92.01% -0.1291 0.1324)
OKLCHoklch(92.01% 0.185 134.3)
XYZxyz(56.8892, 82.0123, 30.9180)
Luminance0.8201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF79 #C979FF
analogous
#F2FF79 #AFFF79 #79FF86
triadic
#AFFF79 #79AFFF #FF79AF
tetradic
#AFFF79 #79F2FF #C979FF #FF8679
square
#AFFF79 #79F2FF #C979FF #FF8679
split-complementary
#AFFF79 #8679FF #FF79F2
monochromatic
#66FE00 #8AFF3C #AFFF79 #D4FFB6 #EDFFE0

Accessibility & contrast

On white

1.21
#AFFF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.40
#AFFF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF79
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF79#FFFFFF#000000##000000
##AFFF791.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FCE782
Tritanopia (blue-blind)
#AFF6E1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #afff79;
/* rgb */ color: rgb(175, 255, 121);
/* oklch */ color: oklch(92.0% 0.185 134.3);
Tailwind
colors: {
  custom: {
    50: '#caffa3',
    500: '#afff79',
    950: '#000000',
  },
}
SCSS
$custom: #afff79;
$custom-light: #caffa3;
$custom-dark: #000000;
JSON
{
  "hex": "#afff79",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 121
  },
  "hsl": {
    "h": 95.821,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92007,
    "c": 0.18494,
    "h": 134.3
  },
  "luminance": 0.82014
}

Semantic roles & 50–950 ramp

primary
#AFFF79
secondary
#9D3FDD
accent
#00E689
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFF79

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

Preview Lab → · Contrast checker → · Palette generator →

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