#AFE58C#AFE58C

#AFE58C is a very light, vivid yellow-green. Relative luminance 0.670; OKLCH L 86.4% C 0.130 H 133.9°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#AFE58C
RGBrgb(175, 229, 140)
HSLhsl(96, 63%, 72%)
HSVhsv(96, 39%, 90%)
CMYKcmyk(23.6%, 0%, 38.9%, 10.2%)
CIE-LABlab(85.53, -32.83, 37.92)
CIE-LCHlch(85.53, 50.16, 130.88°)
OKLaboklab(86.38% -0.0899 0.0934)
OKLCHoklch(86.38% 0.13 133.9)
XYZxyz(50.4310, 67.0448, 35.0898)
Luminance0.6705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE58C #C28CE5
analogous
#DCE58C #AFE58C #8CE595
triadic
#AFE58C #8CAFE5 #E58CAF
tetradic
#AFE58C #8CDCE5 #C28CE5 #E5958C
square
#AFE58C #8CDCE5 #C28CE5 #E5958C
split-complementary
#AFE58C #958CE5 #E58CDC
monochromatic
#6BC92D #8CDA5A #AFE58C #D2F0BE #EEF9E6

Accessibility & contrast

On white

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

On black

14.41
#AFE58C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE58C
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE58C#FFFFFF#000000##000000
##AFE58C1.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe58c;
/* rgb */ color: rgb(175, 229, 140);
/* oklch */ color: oklch(86.4% 0.130 133.9);
Tailwind
colors: {
  custom: {
    50: '#c8edae',
    500: '#afe58c',
    950: '#000000',
  },
}
SCSS
$custom: #afe58c;
$custom-light: #c8edae;
$custom-dark: #000000;
JSON
{
  "hex": "#afe58c",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 140
  },
  "hsl": {
    "h": 96.404,
    "s": 63.121,
    "l": 72.353
  },
  "oklch": {
    "l": 0.86376,
    "c": 0.12965,
    "h": 133.9
  },
  "luminance": 0.67046
}

Semantic roles & 50–950 ramp

primary
#AFE58C
secondary
#9657BE
accent
#1BCB86
background
#FDFFFD
surface
#F9FEF7
border
#D2D6D0
text
#131610
muted
#828581

Preview Lab

Preview with #AFE58C

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

Preview Lab → · Contrast checker → · Palette generator →

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