#AFE579#AFE579

#AFE579 is a very light, vivid yellow-green. Relative luminance 0.665; OKLCH L 86.1% C 0.149 H 130.8°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#AFE579
RGBrgb(175, 229, 121)
HSLhsl(90, 68%, 69%)
HSVhsv(90, 47%, 90%)
CMYKcmyk(23.6%, 0%, 47.2%, 10.2%)
CIE-LABlab(85.27, -35.17, 46.91)
CIE-LCHlch(85.27, 58.63, 126.86°)
OKLaboklab(86.08% -0.0974 0.1129)
OKLCHoklch(86.08% 0.149 130.8)
XYZxyz(49.1490, 66.5320, 28.3379)
Luminance0.6653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE579 #AF79E5
analogous
#E5E579 #AFE579 #79E579
triadic
#AFE579 #79AFE5 #E579AF
tetradic
#AFE579 #79E5E5 #AF79E5 #E57979
square
#AFE579 #79E5E5 #AF79E5 #E57979
split-complementary
#AFE579 #7979E5 #E579E5
monochromatic
#72BF25 #90DB46 #AFE579 #CEEFAC #ECF9E0

Accessibility & contrast

On white

1.47
#AFE579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#AFE579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE579
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE579#FFFFFF#000000##000000
##AFE5791.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD870
Deuteranopia (green-blind)
#E6D47F
Tritanopia (blue-blind)
#B2DDCC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe579;
/* rgb */ color: rgb(175, 229, 121);
/* oklch */ color: oklch(86.1% 0.149 130.8);
Tailwind
colors: {
  custom: {
    50: '#c9eda2',
    500: '#afe579',
    950: '#000000',
  },
}
SCSS
$custom: #afe579;
$custom-light: #c9eda2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe579",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 121
  },
  "hsl": {
    "h": 90,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86082,
    "c": 0.14909,
    "h": 130.8
  },
  "luminance": 0.66533
}

Semantic roles & 50–950 ramp

primary
#AFE579
secondary
#8146BD
accent
#16CF73
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE579

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

Preview Lab → · Contrast checker → · Palette generator →

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