#AFF581#AFF581

#AFF581 is a very light, vivid yellow-green. Relative luminance 0.760; OKLCH L 89.8% C 0.164 H 134.2°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#AFF581
RGBrgb(175, 245, 129)
HSLhsl(96, 85%, 73%)
HSVhsv(96, 47%, 96%)
CMYKcmyk(28.6%, 0%, 47.3%, 3.9%)
CIE-LABlab(89.86, -41.43, 48.76)
CIE-LCHlch(89.86, 63.98, 130.36°)
OKLaboklab(89.83% -0.1142 0.1175)
OKLCHoklch(89.83% 0.164 134.2)
XYZxyz(54.2929, 76.0020, 32.5739)
Luminance0.7600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF581 #C781F5
analogous
#E9F581 #AFF581 #81F58D
triadic
#AFF581 #81AFF5 #F581AF
tetradic
#AFF581 #81E9F5 #C781F5 #F58D81
square
#AFF581 #81E9F5 #C781F5 #F58D81
split-complementary
#AFF581 #8D81F5 #F581E9
monochromatic
#68E913 #8BF048 #AFF581 #D3F9BA #EDFDE3

Accessibility & contrast

On white

1.30
#AFF581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#AFF581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF581
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF581#FFFFFF#000000##000000
##AFF5811.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE677
Deuteranopia (green-blind)
#F3E088
Tritanopia (blue-blind)
#AFEDDA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #aff581;
/* rgb */ color: rgb(175, 245, 129);
/* oklch */ color: oklch(89.8% 0.164 134.2);
Tailwind
colors: {
  custom: {
    50: '#c9f9a8',
    500: '#aff581',
    950: '#000000',
  },
}
SCSS
$custom: #aff581;
$custom-light: #c9f9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#aff581",
  "rgb": {
    "r": 175,
    "g": 245,
    "b": 129
  },
  "hsl": {
    "h": 96.207,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.8983,
    "c": 0.16388,
    "h": 134.2
  },
  "luminance": 0.76004
}

Semantic roles & 50–950 ramp

primary
#AFF581
secondary
#9B49D1
accent
#04E28A
background
#FEFFFC
surface
#FAFFF6
border
#D3D7D0
text
#131710
muted
#838580

Preview Lab

Preview with #AFF581

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

Preview Lab → · Contrast checker → · Palette generator →

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