#AFEA77#AFEA77

#AFEA77 is a very light, vivid yellow-green. Relative luminance 0.693; OKLCH L 87.2% C 0.158 H 131.3°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#AFEA77
RGBrgb(175, 234, 119)
HSLhsl(91, 73%, 69%)
HSVhsv(91, 49%, 92%)
CMYKcmyk(25.2%, 0%, 49.1%, 8.2%)
CIE-LABlab(86.65, -37.66, 49.54)
CIE-LCHlch(86.65, 62.23, 127.24°)
OKLaboklab(87.19% -0.1044 0.1186)
OKLCHoklch(87.19% 0.158 131.3)
XYZxyz(50.4311, 69.2902, 28.1665)
Luminance0.6929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA77 #B277EA
analogous
#E8EA77 #AFEA77 #77EA79
triadic
#AFEA77 #77AFEA #EA77AF
tetradic
#AFEA77 #77E8EA #B277EA #EA7977
square
#AFEA77 #77E8EA #B277EA #EA7977
split-complementary
#AFEA77 #7977EA #EA77E8
monochromatic
#71C81F #90E242 #AFEA77 #CEF2AC #EDFAE1

Accessibility & contrast

On white

1.41
#AFEA77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#AFEA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA77
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA77#FFFFFF#000000##000000
##AFEA771.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6D
Deuteranopia (green-blind)
#EAD77E
Tritanopia (blue-blind)
#B1E2CF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afea77;
/* rgb */ color: rgb(175, 234, 119);
/* oklch */ color: oklch(87.2% 0.158 131.3);
Tailwind
colors: {
  custom: {
    50: '#c9f1a0',
    500: '#afea77',
    950: '#000000',
  },
}
SCSS
$custom: #afea77;
$custom-light: #c9f1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afea77",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 119
  },
  "hsl": {
    "h": 90.783,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.8719,
    "c": 0.15804,
    "h": 131.3
  },
  "luminance": 0.69292
}

Semantic roles & 50–950 ramp

primary
#AFEA77
secondary
#8443C2
accent
#10D575
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFEA77

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

Preview Lab → · Contrast checker → · Palette generator →

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