#AFE585#AFE585

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

Color values

HEX#AFE585
RGBrgb(175, 229, 133)
HSLhsl(94, 65%, 71%)
HSVhsv(94, 42%, 90%)
CMYKcmyk(23.6%, 0%, 41.9%, 10.2%)
CIE-LABlab(85.43, -33.74, 41.27)
CIE-LCHlch(85.43, 53.30, 129.27°)
OKLaboklab(86.26% -0.0927 0.1008)
OKLCHoklch(86.26% 0.137 132.6)
XYZxyz(49.9312, 66.8448, 32.4574)
Luminance0.6685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE585 #BB85E5
analogous
#DFE585 #AFE585 #85E58B
triadic
#AFE585 #85AFE5 #E585AF
tetradic
#AFE585 #85DFE5 #BB85E5 #E58B85
square
#AFE585 #85DFE5 #BB85E5 #E58B85
split-complementary
#AFE585 #8B85E5 #E585DF
monochromatic
#6EC62A #8EDA53 #AFE585 #D0F0B7 #EEFAE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE585#FFFFFF#000000##000000
##AFE5851.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)
#ECD87E
Deuteranopia (green-blind)
#E4D48A
Tritanopia (blue-blind)
#B0DECE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe585;
/* rgb */ color: rgb(175, 229, 133);
/* oklch */ color: oklch(86.3% 0.137 132.6);
Tailwind
colors: {
  custom: {
    50: '#c8edaa',
    500: '#afe585',
    950: '#000000',
  },
}
SCSS
$custom: #afe585;
$custom-light: #c8edaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afe585",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 133
  },
  "hsl": {
    "h": 93.75,
    "s": 64.865,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86262,
    "c": 0.13697,
    "h": 132.6
  },
  "luminance": 0.66846
}

Semantic roles & 50–950 ramp

primary
#AFE585
secondary
#8E51BE
accent
#19CD7E
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE585

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

Preview Lab → · Contrast checker → · Palette generator →

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