#AFE576#AFE576

#AFE576 is a very light, vivid yellow-green. Relative luminance 0.665; OKLCH L 86.0% C 0.152 H 130.4°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#AFE576
RGBrgb(175, 229, 118)
HSLhsl(89, 68%, 68%)
HSVhsv(89, 48%, 90%)
CMYKcmyk(23.6%, 0%, 48.5%, 10.2%)
CIE-LABlab(85.23, -35.51, 48.29)
CIE-LCHlch(85.23, 59.94, 126.33°)
OKLaboklab(86.04% -0.0985 0.1158)
OKLCHoklch(86.04% 0.152 130.4)
XYZxyz(48.9679, 66.4595, 27.3841)
Luminance0.6646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE576 #AC76E5
analogous
#E5E376 #AFE576 #77E576
triadic
#AFE576 #76AFE5 #E576AF
tetradic
#AFE576 #76E5E3 #AC76E5 #E57677
square
#AFE576 #76E5E3 #AC76E5 #E57677
split-complementary
#AFE576 #7677E5 #E376E5
monochromatic
#72BD24 #91DB43 #AFE576 #CDEFA9 #EBF9DD

Accessibility & contrast

On white

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

On black

14.29
#AFE576 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE576
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE576#FFFFFF#000000##000000
##AFE5761.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86C
Deuteranopia (green-blind)
#E6D47D
Tritanopia (blue-blind)
#B2DDCB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe576;
/* rgb */ color: rgb(175, 229, 118);
/* oklch */ color: oklch(86.0% 0.152 130.4);
Tailwind
colors: {
  custom: {
    50: '#c9eda0',
    500: '#afe576',
    950: '#000000',
  },
}
SCSS
$custom: #afe576;
$custom-light: #c9eda0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe576",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 118
  },
  "hsl": {
    "h": 89.189,
    "s": 68.098,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86041,
    "c": 0.15202,
    "h": 130.4
  },
  "luminance": 0.66461
}

Semantic roles & 50–950 ramp

primary
#AFE576
secondary
#7E43BC
accent
#15D070
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE576

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

Preview Lab → · Contrast checker → · Palette generator →

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