#AFE77C#AFE77C

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

Color values

HEX#AFE77C
RGBrgb(175, 231, 124)
HSLhsl(91, 69%, 70%)
HSVhsv(91, 46%, 91%)
CMYKcmyk(24.2%, 0%, 46.3%, 9.4%)
CIE-LABlab(85.87, -35.74, 46.21)
CIE-LCHlch(85.87, 58.42, 127.72°)
OKLaboklab(86.58% -0.0988 0.1115)
OKLCHoklch(86.58% 0.149 131.5)
XYZxyz(49.8924, 67.7198, 29.5075)
Luminance0.6772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE77C #B47CE7
analogous
#E4E77C #AFE77C #7CE77F
triadic
#AFE77C #7CAFE7 #E77CAF
tetradic
#AFE77C #7CE4E7 #B47CE7 #E77F7C
square
#AFE77C #7CE4E7 #B47CE7 #E77F7C
split-complementary
#AFE77C #7F7CE7 #E77CE4
monochromatic
#71C524 #8FDE48 #AFE77C #CFF0B0 #EEFAE3

Accessibility & contrast

On white

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

On black

14.54
#AFE77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE77C
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE77C#FFFFFF#000000##000000
##AFE77C1.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD973
Deuteranopia (green-blind)
#E7D582
Tritanopia (blue-blind)
#B1DFCE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe77c;
/* rgb */ color: rgb(175, 231, 124);
/* oklch */ color: oklch(86.6% 0.149 131.5);
Tailwind
colors: {
  custom: {
    50: '#c9efa4',
    500: '#afe77c',
    950: '#000000',
  },
}
SCSS
$custom: #afe77c;
$custom-light: #c9efa4;
$custom-dark: #000000;
JSON
{
  "hex": "#afe77c",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 124
  },
  "hsl": {
    "h": 91.402,
    "s": 69.032,
    "l": 69.608
  },
  "oklch": {
    "l": 0.86579,
    "c": 0.14897,
    "h": 131.5
  },
  "luminance": 0.67721
}

Semantic roles & 50–950 ramp

primary
#AFE77C
secondary
#8648BF
accent
#15D177
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE77C

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

Preview Lab → · Contrast checker → · Palette generator →

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