#AFE58B#AFE58B

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

Color values

HEX#AFE58B
RGBrgb(175, 229, 139)
HSLhsl(96, 63%, 72%)
HSVhsv(96, 39%, 90%)
CMYKcmyk(23.6%, 0%, 39.3%, 10.2%)
CIE-LABlab(85.51, -32.96, 38.40)
CIE-LCHlch(85.51, 50.61, 130.64°)
OKLaboklab(86.36% -0.0903 0.0945)
OKLCHoklch(86.36% 0.131 133.7)
XYZxyz(50.3576, 67.0154, 34.7032)
Luminance0.6702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE58B #C18BE5
analogous
#DCE58B #AFE58B #8BE594
triadic
#AFE58B #8BAFE5 #E58BAF
tetradic
#AFE58B #8BDCE5 #C18BE5 #E5948B
square
#AFE58B #8BDCE5 #C18BE5 #E5948B
split-complementary
#AFE58B #948BE5 #E58BDC
monochromatic
#6BC92D #8DDA59 #AFE58B #D1F0BD #EEF9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE58B#FFFFFF#000000##000000
##AFE58B1.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)
#ECD984
Deuteranopia (green-blind)
#E4D490
Tritanopia (blue-blind)
#B0DECF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe58b;
/* rgb */ color: rgb(175, 229, 139);
/* oklch */ color: oklch(86.4% 0.131 133.7);
Tailwind
colors: {
  custom: {
    50: '#c8edae',
    500: '#afe58b',
    950: '#000000',
  },
}
SCSS
$custom: #afe58b;
$custom-light: #c8edae;
$custom-dark: #000000;
JSON
{
  "hex": "#afe58b",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 139
  },
  "hsl": {
    "h": 96,
    "s": 63.38,
    "l": 72.157
  },
  "oklch": {
    "l": 0.8636,
    "c": 0.13071,
    "h": 133.7
  },
  "luminance": 0.67017
}

Semantic roles & 50–950 ramp

primary
#AFE58B
secondary
#9456BE
accent
#1ACB84
background
#FDFFFD
surface
#F9FEF7
border
#D2D6D0
text
#131610
muted
#828581

Preview Lab

Preview with #AFE58B

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

Preview Lab → · Contrast checker → · Palette generator →

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