#AFE586#AFE586

#AFE586 is a very light, vivid yellow-green. Relative luminance 0.669; OKLCH L 86.3% C 0.136 H 132.8°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#AFE586
RGBrgb(175, 229, 134)
HSLhsl(94, 65%, 71%)
HSVhsv(94, 41%, 90%)
CMYKcmyk(23.6%, 0%, 41.5%, 10.2%)
CIE-LABlab(85.44, -33.61, 40.79)
CIE-LCHlch(85.44, 52.86, 129.49°)
OKLaboklab(86.28% -0.0923 0.0998)
OKLCHoklch(86.28% 0.136 132.8)
XYZxyz(50.0006, 66.8726, 32.8230)
Luminance0.6687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE586 #BC86E5
analogous
#DEE586 #AFE586 #86E58C
triadic
#AFE586 #86AFE5 #E586AF
tetradic
#AFE586 #86DEE5 #BC86E5 #E58C86
square
#AFE586 #86DEE5 #BC86E5 #E58C86
split-complementary
#AFE586 #8C86E5 #E586DE
monochromatic
#6EC62B #8EDA54 #AFE586 #D0F0B8 #EEFAE6

Accessibility & contrast

On white

1.46
#AFE586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#AFE586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE586
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE586#FFFFFF#000000##000000
##AFE5861.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD87F
Deuteranopia (green-blind)
#E4D48B
Tritanopia (blue-blind)
#B0DECE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe586;
/* rgb */ color: rgb(175, 229, 134);
/* oklch */ color: oklch(86.3% 0.136 132.8);
Tailwind
colors: {
  custom: {
    50: '#c8edaa',
    500: '#afe586',
    950: '#000000',
  },
}
SCSS
$custom: #afe586;
$custom-light: #c8edaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afe586",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 134
  },
  "hsl": {
    "h": 94.105,
    "s": 64.626,
    "l": 71.176
  },
  "oklch": {
    "l": 0.86278,
    "c": 0.13593,
    "h": 132.8
  },
  "luminance": 0.66874
}

Semantic roles & 50–950 ramp

primary
#AFE586
secondary
#8F52BE
accent
#19CC7F
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE586

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

Preview Lab → · Contrast checker → · Palette generator →

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