#AFE77A#AFE77A

#AFE77A is a very light, vivid yellow-green. Relative luminance 0.677; OKLCH L 86.6% C 0.151 H 131.3°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#AFE77A
RGBrgb(175, 231, 122)
HSLhsl(91, 69%, 69%)
HSVhsv(91, 47%, 91%)
CMYKcmyk(24.2%, 0%, 47.2%, 9.4%)
CIE-LABlab(85.84, -35.97, 47.13)
CIE-LCHlch(85.84, 59.29, 127.35°)
OKLaboklab(86.55% -0.0995 0.1135)
OKLCHoklch(86.55% 0.151 131.3)
XYZxyz(49.7673, 67.6697, 28.8481)
Luminance0.6767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE77A #B27AE7
analogous
#E5E77A #AFE77A #7AE77C
triadic
#AFE77A #7AAFE7 #E77AAF
tetradic
#AFE77A #7AE5E7 #B27AE7 #E77C7A
square
#AFE77A #7AE5E7 #B27AE7 #E77C7A
split-complementary
#AFE77A #7C7AE7 #E77AE5
monochromatic
#71C323 #90DE46 #AFE77A #CEF0AE #EDFAE2

Accessibility & contrast

On white

1.44
#AFE77A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#AFE77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE77A
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE77A#FFFFFF#000000##000000
##AFE77A1.001.4414.5314.53
#FFFFFF1.441.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD971
Deuteranopia (green-blind)
#E7D581
Tritanopia (blue-blind)
#B1DFCD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe77a;
/* rgb */ color: rgb(175, 231, 122);
/* oklch */ color: oklch(86.6% 0.151 131.3);
Tailwind
colors: {
  custom: {
    50: '#c9efa2',
    500: '#afe77a',
    950: '#000000',
  },
}
SCSS
$custom: #afe77a;
$custom-light: #c9efa2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe77a",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 122
  },
  "hsl": {
    "h": 90.826,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.8655,
    "c": 0.15094,
    "h": 131.3
  },
  "luminance": 0.67671
}

Semantic roles & 50–950 ramp

primary
#AFE77A
secondary
#8446BF
accent
#14D175
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE77A

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

Preview Lab → · Contrast checker → · Palette generator →

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