#AFF586#AFF586

#AFF586 is a very light, vivid yellow-green. Relative luminance 0.761; OKLCH L 89.9% C 0.159 H 134.9°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#AFF586
RGBrgb(175, 245, 134)
HSLhsl(98, 85%, 74%)
HSVhsv(98, 45%, 96%)
CMYKcmyk(28.6%, 0%, 45.3%, 3.9%)
CIE-LABlab(89.92, -40.84, 46.45)
CIE-LCHlch(89.92, 61.85, 131.32°)
OKLaboklab(89.9% -0.1123 0.1126)
OKLCHoklch(89.9% 0.159 134.9)
XYZxyz(54.6334, 76.1382, 34.3673)
Luminance0.7614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF586 #CC86F5
analogous
#E7F586 #AFF586 #86F595
triadic
#AFF586 #86AFF5 #F586AF
tetradic
#AFF586 #86E7F5 #CC86F5 #F59586
square
#AFF586 #86E7F5 #CC86F5 #F59586
split-complementary
#AFF586 #9586F5 #F586E7
monochromatic
#64EC15 #8AF04D #AFF586 #D4FABF #ECFDE3

Accessibility & contrast

On white

1.29
#AFF586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#AFF586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF586
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF586#FFFFFF#000000##000000
##AFF5861.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE67D
Deuteranopia (green-blind)
#F2E08D
Tritanopia (blue-blind)
#AEEEDB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #aff586;
/* rgb */ color: rgb(175, 245, 134);
/* oklch */ color: oklch(89.9% 0.159 134.9);
Tailwind
colors: {
  custom: {
    50: '#c9f9ab',
    500: '#aff586',
    950: '#000000',
  },
}
SCSS
$custom: #aff586;
$custom-light: #c9f9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#aff586",
  "rgb": {
    "r": 175,
    "g": 245,
    "b": 134
  },
  "hsl": {
    "h": 97.838,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.89902,
    "c": 0.15906,
    "h": 134.9
  },
  "luminance": 0.7614
}

Semantic roles & 50–950 ramp

primary
#AFF586
secondary
#A14ED2
accent
#04E190
background
#FEFFFD
surface
#FAFFF7
border
#D3D7D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF586

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

Preview Lab → · Contrast checker → · Palette generator →

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