#AFEF77#AFEF77

#AFEF77 is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.3% C 0.165 H 132.1°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#AFEF77
RGBrgb(175, 239, 119)
HSLhsl(92, 79%, 70%)
HSVhsv(92, 50%, 94%)
CMYKcmyk(26.8%, 0%, 50.2%, 6.3%)
CIE-LABlab(88.05, -39.90, 51.25)
CIE-LCHlch(88.05, 64.95, 127.90°)
OKLaboklab(88.33% -0.1106 0.1224)
OKLCHoklch(88.33% 0.165 132.1)
XYZxyz(51.8747, 72.1774, 28.6477)
Luminance0.7218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF77 #B777EF
analogous
#EBEF77 #AFEF77 #77EF7B
triadic
#AFEF77 #77AFEF #EF77AF
tetradic
#AFEF77 #77EBEF #B777EF #EF7B77
square
#AFEF77 #77EBEF #B777EF #EF7B77
split-complementary
#AFEF77 #7B77EF #EF77EB
monochromatic
#70D319 #8FE940 #AFEF77 #CFF5AE #EFFCE4

Accessibility & contrast

On white

1.36
#AFEF77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#AFEF77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF77
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF77#FFFFFF#000000##000000
##AFEF771.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E06C
Deuteranopia (green-blind)
#EEDB7F
Tritanopia (blue-blind)
#B1E7D3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef77;
/* rgb */ color: rgb(175, 239, 119);
/* oklch */ color: oklch(88.3% 0.165 132.1);
Tailwind
colors: {
  custom: {
    50: '#c9f4a1',
    500: '#afef77',
    950: '#000000',
  },
}
SCSS
$custom: #afef77;
$custom-light: #c9f4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afef77",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 119
  },
  "hsl": {
    "h": 92,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88328,
    "c": 0.16497,
    "h": 132.1
  },
  "luminance": 0.72179
}

Semantic roles & 50–950 ramp

primary
#AFEF77
secondary
#8A42C8
accent
#0ADB7A
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEF77

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

Preview Lab → · Contrast checker → · Palette generator →

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