#AFE77B#AFE77B

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

Color values

HEX#AFE77B
RGBrgb(175, 231, 123)
HSLhsl(91, 69%, 69%)
HSVhsv(91, 47%, 91%)
CMYKcmyk(24.2%, 0%, 46.8%, 9.4%)
CIE-LABlab(85.85, -35.86, 46.67)
CIE-LCHlch(85.85, 58.85, 127.53°)
OKLaboklab(86.56% -0.0991 0.1125)
OKLCHoklch(86.56% 0.15 131.4)
XYZxyz(49.8295, 67.6947, 29.1761)
Luminance0.6770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE77B #B37BE7
analogous
#E5E77B #AFE77B #7BE77D
triadic
#AFE77B #7BAFE7 #E77BAF
tetradic
#AFE77B #7BE5E7 #B37BE7 #E77D7B
square
#AFE77B #7BE5E7 #B37BE7 #E77D7B
split-complementary
#AFE77B #7D7BE7 #E77BE5
monochromatic
#71C424 #90DE47 #AFE77B #CEF0AF #EEFAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE77B#FFFFFF#000000##000000
##AFE77B1.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)
#EFD972
Deuteranopia (green-blind)
#E7D581
Tritanopia (blue-blind)
#B1DFCE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe77b;
/* rgb */ color: rgb(175, 231, 123);
/* oklch */ color: oklch(86.6% 0.150 131.4);
Tailwind
colors: {
  custom: {
    50: '#c9efa3',
    500: '#afe77b',
    950: '#000000',
  },
}
SCSS
$custom: #afe77b;
$custom-light: #c9efa3;
$custom-dark: #000000;
JSON
{
  "hex": "#afe77b",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 123
  },
  "hsl": {
    "h": 91.111,
    "s": 69.231,
    "l": 69.412
  },
  "oklch": {
    "l": 0.86564,
    "c": 0.14996,
    "h": 131.4
  },
  "luminance": 0.67696
}

Semantic roles & 50–950 ramp

primary
#AFE77B
secondary
#8547BF
accent
#14D176
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE77B

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

Preview Lab → · Contrast checker → · Palette generator →

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