#AFE57C#AFE57C

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

Color values

HEX#AFE57C
RGBrgb(175, 229, 124)
HSLhsl(91, 67%, 69%)
HSVhsv(91, 46%, 90%)
CMYKcmyk(23.6%, 0%, 45.9%, 10.2%)
CIE-LABlab(85.30, -34.83, 45.51)
CIE-LCHlch(85.30, 57.31, 127.43°)
OKLaboklab(86.13% -0.0962 0.11)
OKLCHoklch(86.13% 0.146 131.2)
XYZxyz(49.3359, 66.6067, 29.3219)
Luminance0.6661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE57C #B27CE5
analogous
#E4E57C #AFE57C #7CE57E
triadic
#AFE57C #7CAFE5 #E57CAF
tetradic
#AFE57C #7CE4E5 #B27CE5 #E57E7C
square
#AFE57C #7CE4E5 #B27CE5 #E57E7C
split-complementary
#AFE57C #7E7CE5 #E57CE4
monochromatic
#71C026 #90DB49 #AFE57C #CEEFAF #EDF9E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE57C#FFFFFF#000000##000000
##AFE57C1.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)
#EDD873
Deuteranopia (green-blind)
#E5D482
Tritanopia (blue-blind)
#B1DDCC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe57c;
/* rgb */ color: rgb(175, 229, 124);
/* oklch */ color: oklch(86.1% 0.146 131.2);
Tailwind
colors: {
  custom: {
    50: '#c9eda4',
    500: '#afe57c',
    950: '#000000',
  },
}
SCSS
$custom: #afe57c;
$custom-light: #c9eda4;
$custom-dark: #000000;
JSON
{
  "hex": "#afe57c",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 124
  },
  "hsl": {
    "h": 90.857,
    "s": 66.879,
    "l": 69.216
  },
  "oklch": {
    "l": 0.86125,
    "c": 0.14612,
    "h": 131.2
  },
  "luminance": 0.66608
}

Semantic roles & 50–950 ramp

primary
#AFE57C
secondary
#8448BD
accent
#17CF75
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE57C

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

Preview Lab → · Contrast checker → · Palette generator →

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