#AFE57D#AFE57D

#AFE57D is a very light, vivid yellow-green. Relative luminance 0.666; OKLCH L 86.1% C 0.145 H 131.3°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#AFE57D
RGBrgb(175, 229, 125)
HSLhsl(91, 67%, 69%)
HSVhsv(91, 45%, 90%)
CMYKcmyk(23.6%, 0%, 45.4%, 10.2%)
CIE-LABlab(85.32, -34.71, 45.04)
CIE-LCHlch(85.32, 56.86, 127.62°)
OKLaboklab(86.14% -0.0958 0.109)
OKLCHoklch(86.14% 0.145 131.3)
XYZxyz(49.3994, 66.6321, 29.6567)
Luminance0.6663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE57D #B37DE5
analogous
#E3E57D #AFE57D #7DE57F
triadic
#AFE57D #7DAFE5 #E57DAF
tetradic
#AFE57D #7DE3E5 #B37DE5 #E57F7D
square
#AFE57D #7DE3E5 #B37DE5 #E57F7D
split-complementary
#AFE57D #7F7DE5 #E57DE3
monochromatic
#71C127 #90DB4A #AFE57D #CEEFB0 #EEF9E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE57D#FFFFFF#000000##000000
##AFE57D1.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)
#EDD875
Deuteranopia (green-blind)
#E5D483
Tritanopia (blue-blind)
#B1DDCC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe57d;
/* rgb */ color: rgb(175, 229, 125);
/* oklch */ color: oklch(86.1% 0.145 131.3);
Tailwind
colors: {
  custom: {
    50: '#c9eda4',
    500: '#afe57d',
    950: '#000000',
  },
}
SCSS
$custom: #afe57d;
$custom-light: #c9eda4;
$custom-dark: #000000;
JSON
{
  "hex": "#afe57d",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 125
  },
  "hsl": {
    "h": 91.154,
    "s": 66.667,
    "l": 69.412
  },
  "oklch": {
    "l": 0.8614,
    "c": 0.14513,
    "h": 131.3
  },
  "luminance": 0.66633
}

Semantic roles & 50–950 ramp

primary
#AFE57D
secondary
#8549BD
accent
#17CF76
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE57D

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

Preview Lab → · Contrast checker → · Palette generator →

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