#AFE57F#AFE57F

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

Color values

HEX#AFE57F
RGBrgb(175, 229, 127)
HSLhsl(92, 66%, 70%)
HSVhsv(92, 45%, 90%)
CMYKcmyk(23.6%, 0%, 44.5%, 10.2%)
CIE-LABlab(85.34, -34.47, 44.10)
CIE-LCHlch(85.34, 55.98, 128.01°)
OKLaboklab(86.17% -0.0951 0.107)
OKLCHoklch(86.17% 0.143 131.6)
XYZxyz(49.5285, 66.6837, 30.3363)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE57F #B57FE5
analogous
#E2E57F #AFE57F #7FE582
triadic
#AFE57F #7FAFE5 #E57FAF
tetradic
#AFE57F #7FE2E5 #B57FE5 #E5827F
square
#AFE57F #7FE2E5 #B57FE5 #E5827F
split-complementary
#AFE57F #827FE5 #E57FE2
monochromatic
#70C227 #8FDB4C #AFE57F #CFEFB2 #EFFAE5

Accessibility & contrast

On white

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

On black

14.34
#AFE57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE57F
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE57F#FFFFFF#000000##000000
##AFE57F1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD877
Deuteranopia (green-blind)
#E5D485
Tritanopia (blue-blind)
#B1DECD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe57f;
/* rgb */ color: rgb(175, 229, 127);
/* oklch */ color: oklch(86.2% 0.143 131.6);
Tailwind
colors: {
  custom: {
    50: '#c9eda6',
    500: '#afe57f',
    950: '#000000',
  },
}
SCSS
$custom: #afe57f;
$custom-light: #c9eda6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe57f",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 127
  },
  "hsl": {
    "h": 91.765,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.8617,
    "c": 0.14311,
    "h": 131.6
  },
  "luminance": 0.66685
}

Semantic roles & 50–950 ramp

primary
#AFE57F
secondary
#874BBD
accent
#17CE78
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE57F

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

Preview Lab → · Contrast checker → · Palette generator →

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