#AFE58A#AFE58A

#AFE58A is a very light, vivid yellow-green. Relative luminance 0.670; OKLCH L 86.3% C 0.132 H 133.5°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#AFE58A
RGBrgb(175, 229, 138)
HSLhsl(96, 64%, 72%)
HSVhsv(96, 40%, 90%)
CMYKcmyk(23.6%, 0%, 39.7%, 10.2%)
CIE-LABlab(85.50, -33.09, 38.88)
CIE-LCHlch(85.50, 51.06, 130.40°)
OKLaboklab(86.34% -0.0907 0.0956)
OKLCHoklch(86.34% 0.132 133.5)
XYZxyz(50.2849, 66.9863, 34.3201)
Luminance0.6699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE58A #C08AE5
analogous
#DDE58A #AFE58A #8AE593
triadic
#AFE58A #8AAFE5 #E58AAF
tetradic
#AFE58A #8ADDE5 #C08AE5 #E5938A
square
#AFE58A #8ADDE5 #C08AE5 #E5938A
split-complementary
#AFE58A #938AE5 #E58ADD
monochromatic
#6CC82C #8DDA58 #AFE58A #D1F0BC #EEF9E6

Accessibility & contrast

On white

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

On black

14.40
#AFE58A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE58A
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE58A#FFFFFF#000000##000000
##AFE58A1.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD983
Deuteranopia (green-blind)
#E4D48F
Tritanopia (blue-blind)
#B0DECF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe58a;
/* rgb */ color: rgb(175, 229, 138);
/* oklch */ color: oklch(86.3% 0.132 133.5);
Tailwind
colors: {
  custom: {
    50: '#c8edad',
    500: '#afe58a',
    950: '#000000',
  },
}
SCSS
$custom: #afe58a;
$custom-light: #c8edad;
$custom-dark: #000000;
JSON
{
  "hex": "#afe58a",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 138
  },
  "hsl": {
    "h": 95.604,
    "s": 63.636,
    "l": 71.961
  },
  "oklch": {
    "l": 0.86343,
    "c": 0.13176,
    "h": 133.5
  },
  "luminance": 0.66988
}

Semantic roles & 50–950 ramp

primary
#AFE58A
secondary
#9355BE
accent
#1ACB83
background
#FDFFFD
surface
#F9FEF7
border
#D2D6D0
text
#131610
muted
#828581

Preview Lab

Preview with #AFE58A

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

Preview Lab → · Contrast checker → · Palette generator →

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