#AFE77E#AFE77E

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

Color values

HEX#AFE77E
RGBrgb(175, 231, 126)
HSLhsl(92, 69%, 70%)
HSVhsv(92, 45%, 91%)
CMYKcmyk(24.2%, 0%, 45.5%, 9.4%)
CIE-LABlab(85.89, -35.51, 45.27)
CIE-LCHlch(85.89, 57.54, 128.11°)
OKLaboklab(86.61% -0.098 0.1096)
OKLCHoklch(86.61% 0.147 131.8)
XYZxyz(50.0202, 67.7709, 30.1803)
Luminance0.6777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE77E #B67EE7
analogous
#E3E77E #AFE77E #7EE782
triadic
#AFE77E #7EAFE7 #E77EAF
tetradic
#AFE77E #7EE3E7 #B67EE7 #E7827E
square
#AFE77E #7EE3E7 #B67EE7 #E7827E
split-complementary
#AFE77E #827EE7 #E77EE3
monochromatic
#70C625 #8FDD4A #AFE77E #CFF1B2 #EFFAE5

Accessibility & contrast

On white

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

On black

14.55
#AFE77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE77E
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE77E#FFFFFF#000000##000000
##AFE77E1.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe77e;
/* rgb */ color: rgb(175, 231, 126);
/* oklch */ color: oklch(86.6% 0.147 131.8);
Tailwind
colors: {
  custom: {
    50: '#c9efa5',
    500: '#afe77e',
    950: '#000000',
  },
}
SCSS
$custom: #afe77e;
$custom-light: #c9efa5;
$custom-dark: #000000;
JSON
{
  "hex": "#afe77e",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 126
  },
  "hsl": {
    "h": 92,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.86608,
    "c": 0.14698,
    "h": 131.8
  },
  "luminance": 0.67772
}

Semantic roles & 50–950 ramp

primary
#AFE77E
secondary
#894ABF
accent
#15D179
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE77E

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

Preview Lab → · Contrast checker → · Palette generator →

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