#AFE581#AFE581

#AFE581 is a very light, vivid yellow-green. Relative luminance 0.667; OKLCH L 86.2% C 0.141 H 131.9°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#AFE581
RGBrgb(175, 229, 129)
HSLhsl(92, 66%, 70%)
HSVhsv(92, 44%, 90%)
CMYKcmyk(23.6%, 0%, 43.7%, 10.2%)
CIE-LABlab(85.37, -34.23, 43.16)
CIE-LCHlch(85.37, 55.09, 128.42°)
OKLaboklab(86.2% -0.0943 0.105)
OKLCHoklch(86.2% 0.141 131.9)
XYZxyz(49.6601, 66.7364, 31.0296)
Luminance0.6674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE581 #B781E5
analogous
#E1E581 #AFE581 #81E585
triadic
#AFE581 #81AFE5 #E581AF
tetradic
#AFE581 #81E1E5 #B781E5 #E58581
square
#AFE581 #81E1E5 #B781E5 #E58581
split-complementary
#AFE581 #8581E5 #E581E1
monochromatic
#70C328 #8FDB4E #AFE581 #CFEFB4 #EFFAE6

Accessibility & contrast

On white

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

On black

14.35
#AFE581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE581
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE581#FFFFFF#000000##000000
##AFE5811.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD879
Deuteranopia (green-blind)
#E5D487
Tritanopia (blue-blind)
#B1DECD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe581;
/* rgb */ color: rgb(175, 229, 129);
/* oklch */ color: oklch(86.2% 0.141 131.9);
Tailwind
colors: {
  custom: {
    50: '#c9eda7',
    500: '#afe581',
    950: '#000000',
  },
}
SCSS
$custom: #afe581;
$custom-light: #c9eda7;
$custom-dark: #000000;
JSON
{
  "hex": "#afe581",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 129
  },
  "hsl": {
    "h": 92.4,
    "s": 65.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.862,
    "c": 0.14108,
    "h": 131.9
  },
  "luminance": 0.66738
}

Semantic roles & 50–950 ramp

primary
#AFE581
secondary
#8A4DBD
accent
#18CE7A
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE581

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

Preview Lab → · Contrast checker → · Palette generator →

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