#AFEF79#AFEF79

#AFEF79 is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.4% C 0.163 H 132.4°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#AFEF79
RGBrgb(175, 239, 121)
HSLhsl(93, 79%, 71%)
HSVhsv(93, 49%, 94%)
CMYKcmyk(26.8%, 0%, 49.4%, 6.3%)
CIE-LABlab(88.08, -39.68, 50.34)
CIE-LCHlch(88.08, 64.10, 128.25°)
OKLaboklab(88.35% -0.1099 0.1205)
OKLCHoklch(88.35% 0.163 132.4)
XYZxyz(51.9960, 72.2260, 29.2869)
Luminance0.7223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF79 #B979EF
analogous
#EAEF79 #AFEF79 #79EF7E
triadic
#AFEF79 #79AFEF #EF79AF
tetradic
#AFEF79 #79EAEF #B979EF #EF7E79
square
#AFEF79 #79EAEF #B979EF #EF7E79
split-complementary
#AFEF79 #7E79EF #EF79EA
monochromatic
#6FD419 #8EE842 #AFEF79 #D0F6B0 #EFFCE4

Accessibility & contrast

On white

1.36
#AFEF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.45
#AFEF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF79
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF79#FFFFFF#000000##000000
##AFEF791.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E06F
Deuteranopia (green-blind)
#EEDB80
Tritanopia (blue-blind)
#B1E7D4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef79;
/* rgb */ color: rgb(175, 239, 121);
/* oklch */ color: oklch(88.4% 0.163 132.4);
Tailwind
colors: {
  custom: {
    50: '#c9f4a2',
    500: '#afef79',
    950: '#000000',
  },
}
SCSS
$custom: #afef79;
$custom-light: #c9f4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#afef79",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 121
  },
  "hsl": {
    "h": 92.542,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88355,
    "c": 0.16309,
    "h": 132.4
  },
  "luminance": 0.72227
}

Semantic roles & 50–950 ramp

primary
#AFEF79
secondary
#8C44C9
accent
#0BDB7C
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEF79

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

Preview Lab → · Contrast checker → · Palette generator →

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