#AFE77F#AFE77F

#AFE77F is a very light, vivid yellow-green. Relative luminance 0.678; OKLCH L 86.6% C 0.146 H 132.0°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#AFE77F
RGBrgb(175, 231, 127)
HSLhsl(92, 68%, 70%)
HSVhsv(92, 45%, 91%)
CMYKcmyk(24.2%, 0%, 45%, 9.4%)
CIE-LABlab(85.90, -35.39, 44.81)
CIE-LCHlch(85.90, 57.10, 128.30°)
OKLaboklab(86.62% -0.0976 0.1086)
OKLCHoklch(86.62% 0.146 132)
XYZxyz(50.0851, 67.7969, 30.5219)
Luminance0.6780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE77F #B77FE7
analogous
#E3E77F #AFE77F #7FE783
triadic
#AFE77F #7FAFE7 #E77FAF
tetradic
#AFE77F #7FE3E7 #B77FE7 #E7837F
square
#AFE77F #7FE3E7 #B77FE7 #E7837F
split-complementary
#AFE77F #837FE7 #E77FE3
monochromatic
#70C625 #8FDD4B #AFE77F #CFF1B3 #EFFAE5

Accessibility & contrast

On white

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

On black

14.56
#AFE77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE77F
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE77F#FFFFFF#000000##000000
##AFE77F1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe77f;
/* rgb */ color: rgb(175, 231, 127);
/* oklch */ color: oklch(86.6% 0.146 132.0);
Tailwind
colors: {
  custom: {
    50: '#c9efa6',
    500: '#afe77f',
    950: '#000000',
  },
}
SCSS
$custom: #afe77f;
$custom-light: #c9efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe77f",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 127
  },
  "hsl": {
    "h": 92.308,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86622,
    "c": 0.14598,
    "h": 132
  },
  "luminance": 0.67798
}

Semantic roles & 50–950 ramp

primary
#AFE77F
secondary
#8A4BBF
accent
#15D07A
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE77F

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

Preview Lab → · Contrast checker → · Palette generator →

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