#AFE980#AFE980

#AFE980 is a very light, vivid yellow-green. Relative luminance 0.690; OKLCH L 87.1% C 0.148 H 132.4°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#AFE980
RGBrgb(175, 233, 128)
HSLhsl(93, 70%, 71%)
HSVhsv(93, 45%, 91%)
CMYKcmyk(24.9%, 0%, 45.1%, 8.6%)
CIE-LABlab(86.48, -36.18, 45.04)
CIE-LCHlch(86.48, 57.77, 128.78°)
OKLaboklab(87.09% -0.0997 0.1091)
OKLCHoklch(87.09% 0.148 132.4)
XYZxyz(50.7135, 68.9490, 31.0545)
Luminance0.6895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE980 #BA80E9
analogous
#E3E980 #AFE980 #80E985
triadic
#AFE980 #80AFE9 #E980AF
tetradic
#AFE980 #80E3E9 #BA80E9 #E98580
square
#AFE980 #80E3E9 #BA80E9 #E98580
split-complementary
#AFE980 #8580E9 #E980E3
monochromatic
#6ECB23 #8EE04C #AFE980 #D0F2B4 #EFFAE5

Accessibility & contrast

On white

1.42
#AFE980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#AFE980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE980
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE980#FFFFFF#000000##000000
##AFE9801.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB78
Deuteranopia (green-blind)
#E8D786
Tritanopia (blue-blind)
#B1E1D0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe980;
/* rgb */ color: rgb(175, 233, 128);
/* oklch */ color: oklch(87.1% 0.148 132.4);
Tailwind
colors: {
  custom: {
    50: '#c9f0a6',
    500: '#afe980',
    950: '#000000',
  },
}
SCSS
$custom: #afe980;
$custom-light: #c9f0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe980",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 128
  },
  "hsl": {
    "h": 93.143,
    "s": 70.47,
    "l": 70.784
  },
  "oklch": {
    "l": 0.8709,
    "c": 0.14785,
    "h": 132.4
  },
  "luminance": 0.6895
}

Semantic roles & 50–950 ramp

primary
#AFE980
secondary
#8D4BC2
accent
#13D27D
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE980

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

Preview Lab → · Contrast checker → · Palette generator →

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