#AFE57B#AFE57B

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

Color values

HEX#AFE57B
RGBrgb(175, 229, 123)
HSLhsl(91, 67%, 69%)
HSVhsv(91, 46%, 90%)
CMYKcmyk(23.6%, 0%, 46.3%, 10.2%)
CIE-LABlab(85.29, -34.94, 45.98)
CIE-LCHlch(85.29, 57.75, 127.24°)
OKLaboklab(86.11% -0.0966 0.111)
OKLCHoklch(86.11% 0.147 131)
XYZxyz(49.2730, 66.5815, 28.9906)
Luminance0.6658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE57B #B17BE5
analogous
#E4E57B #AFE57B #7BE57C
triadic
#AFE57B #7BAFE5 #E57BAF
tetradic
#AFE57B #7BE4E5 #B17BE5 #E57C7B
square
#AFE57B #7BE4E5 #B17BE5 #E57C7B
split-complementary
#AFE57B #7C7BE5 #E57BE4
monochromatic
#71C026 #90DB48 #AFE57B #CEEFAE #EDF9E1

Accessibility & contrast

On white

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

On black

14.32
#AFE57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE57B
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE57B#FFFFFF#000000##000000
##AFE57B1.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD872
Deuteranopia (green-blind)
#E5D481
Tritanopia (blue-blind)
#B2DDCC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe57b;
/* rgb */ color: rgb(175, 229, 123);
/* oklch */ color: oklch(86.1% 0.147 131.0);
Tailwind
colors: {
  custom: {
    50: '#c9eda3',
    500: '#afe57b',
    950: '#000000',
  },
}
SCSS
$custom: #afe57b;
$custom-light: #c9eda3;
$custom-dark: #000000;
JSON
{
  "hex": "#afe57b",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 123
  },
  "hsl": {
    "h": 90.566,
    "s": 67.089,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86111,
    "c": 0.14712,
    "h": 131
  },
  "luminance": 0.66583
}

Semantic roles & 50–950 ramp

primary
#AFE57B
secondary
#8347BD
accent
#17CF74
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE57B

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

Preview Lab → · Contrast checker → · Palette generator →

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