#AFE58E#AFE58E

#AFE58E is a very light, vivid yellow-green. Relative luminance 0.671; OKLCH L 86.4% C 0.128 H 134.3°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#AFE58E
RGBrgb(175, 229, 142)
HSLhsl(97, 63%, 73%)
HSVhsv(97, 38%, 90%)
CMYKcmyk(23.6%, 0%, 38%, 10.2%)
CIE-LABlab(85.56, -32.56, 36.96)
CIE-LCHlch(85.56, 49.26, 131.38°)
OKLaboklab(86.41% -0.0891 0.0913)
OKLCHoklch(86.41% 0.128 134.3)
XYZxyz(50.5798, 67.1043, 35.8735)
Luminance0.6711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE58E #C48EE5
analogous
#DBE58E #AFE58E #8EE598
triadic
#AFE58E #8EAFE5 #E58EAF
tetradic
#AFE58E #8EDBE5 #C48EE5 #E5988E
square
#AFE58E #8EDBE5 #C48EE5 #E5988E
split-complementary
#AFE58E #988EE5 #E58EDB
monochromatic
#6ACA2F #8CDA5C #AFE58E #D2F0C0 #EDF9E6

Accessibility & contrast

On white

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

On black

14.42
#AFE58E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE58E
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE58E#FFFFFF#000000##000000
##AFE58E1.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD988
Deuteranopia (green-blind)
#E3D493
Tritanopia (blue-blind)
#AFDFCF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe58e;
/* rgb */ color: rgb(175, 229, 142);
/* oklch */ color: oklch(86.4% 0.128 134.3);
Tailwind
colors: {
  custom: {
    50: '#c8edb0',
    500: '#afe58e',
    950: '#000000',
  },
}
SCSS
$custom: #afe58e;
$custom-light: #c8edb0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe58e",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 142
  },
  "hsl": {
    "h": 97.241,
    "s": 62.59,
    "l": 72.745
  },
  "oklch": {
    "l": 0.8641,
    "c": 0.12754,
    "h": 134.3
  },
  "luminance": 0.67106
}

Semantic roles & 50–950 ramp

primary
#AFE58E
secondary
#9859BE
accent
#1BCA88
background
#FDFFFD
surface
#F9FEF7
border
#D2D6D0
text
#131610
muted
#828581

Preview Lab

Preview with #AFE58E

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

Preview Lab → · Contrast checker → · Palette generator →

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