#AFFE79#AFFE79

#AFFE79 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 91.8% C 0.184 H 134.2°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#AFFE79
RGBrgb(175, 254, 121)
HSLhsl(96, 99%, 74%)
HSVhsv(96, 52%, 100%)
CMYKcmyk(31.1%, 0%, 52.4%, 0.4%)
CIE-LABlab(92.30, -46.22, 55.42)
CIE-LCHlch(92.30, 72.16, 129.83°)
OKLaboklab(91.78% -0.1279 0.1317)
OKLCHoklch(91.78% 0.184 134.2)
XYZxyz(56.5711, 81.3760, 30.8119)
Luminance0.8138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE79 #C879FE
analogous
#F2FE79 #AFFE79 #79FE85
triadic
#AFFE79 #79AFFE #FE79AF
tetradic
#AFFE79 #79F2FE #C879FE #FE8579
square
#AFFE79 #79F2FE #C879FE #FE8579
split-complementary
#AFFE79 #8579FE #FE79F2
monochromatic
#67FB02 #8BFE3C #AFFE79 #D3FEB6 #EDFFE1

Accessibility & contrast

On white

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

On black

17.28
#AFFE79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE79
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE79#FFFFFF#000000##000000
##AFFE791.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6D
Deuteranopia (green-blind)
#FBE782
Tritanopia (blue-blind)
#AFF5E0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affe79;
/* rgb */ color: rgb(175, 254, 121);
/* oklch */ color: oklch(91.8% 0.184 134.2);
Tailwind
colors: {
  custom: {
    50: '#caffa3',
    500: '#affe79',
    950: '#000000',
  },
}
SCSS
$custom: #affe79;
$custom-light: #caffa3;
$custom-dark: #000000;
JSON
{
  "hex": "#affe79",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 121
  },
  "hsl": {
    "h": 95.639,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91778,
    "c": 0.1836,
    "h": 134.2
  },
  "luminance": 0.81378
}

Semantic roles & 50–950 ramp

primary
#AFFE79
secondary
#9C3FDC
accent
#00E688
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFE79

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

Preview Lab → · Contrast checker → · Palette generator →

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