#AFE57E#AFE57E

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

Color values

HEX#AFE57E
RGBrgb(175, 229, 126)
HSLhsl(91, 66%, 70%)
HSVhsv(91, 45%, 90%)
CMYKcmyk(23.6%, 0%, 45%, 10.2%)
CIE-LABlab(85.33, -34.59, 44.57)
CIE-LCHlch(85.33, 56.42, 127.81°)
OKLaboklab(86.16% -0.0954 0.108)
OKLCHoklch(86.16% 0.144 131.5)
XYZxyz(49.4636, 66.6578, 29.9948)
Luminance0.6666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE57E #B47EE5
analogous
#E3E57E #AFE57E #7EE580
triadic
#AFE57E #7EAFE5 #E57EAF
tetradic
#AFE57E #7EE3E5 #B47EE5 #E5807E
square
#AFE57E #7EE3E5 #B47EE5 #E5807E
split-complementary
#AFE57E #807EE5 #E57EE3
monochromatic
#71C227 #8FDB4B #AFE57E #CFEFB1 #EEFAE4

Accessibility & contrast

On white

1.47
#AFE57E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#AFE57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE57E
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE57E#FFFFFF#000000##000000
##AFE57E1.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD876
Deuteranopia (green-blind)
#E5D484
Tritanopia (blue-blind)
#B1DDCC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe57e;
/* rgb */ color: rgb(175, 229, 126);
/* oklch */ color: oklch(86.2% 0.144 131.5);
Tailwind
colors: {
  custom: {
    50: '#c9eda5',
    500: '#afe57e',
    950: '#000000',
  },
}
SCSS
$custom: #afe57e;
$custom-light: #c9eda5;
$custom-dark: #000000;
JSON
{
  "hex": "#afe57e",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 126
  },
  "hsl": {
    "h": 91.456,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.86155,
    "c": 0.14412,
    "h": 131.5
  },
  "luminance": 0.66659
}

Semantic roles & 50–950 ramp

primary
#AFE57E
secondary
#864ABD
accent
#17CE77
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE57E

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

Preview Lab → · Contrast checker → · Palette generator →

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