#AFE77D#AFE77D

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

Color values

HEX#AFE77D
RGBrgb(175, 231, 125)
HSLhsl(92, 69%, 70%)
HSVhsv(92, 46%, 91%)
CMYKcmyk(24.2%, 0%, 45.9%, 9.4%)
CIE-LABlab(85.88, -35.62, 45.74)
CIE-LCHlch(85.88, 57.98, 127.91°)
OKLaboklab(86.59% -0.0984 0.1105)
OKLCHoklch(86.59% 0.148 131.7)
XYZxyz(49.9560, 67.7452, 29.8422)
Luminance0.6775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE77D #B57DE7
analogous
#E4E77D #AFE77D #7DE780
triadic
#AFE77D #7DAFE7 #E77DAF
tetradic
#AFE77D #7DE4E7 #B57DE7 #E7807D
square
#AFE77D #7DE4E7 #B57DE7 #E7807D
split-complementary
#AFE77D #807DE7 #E77DE4
monochromatic
#70C524 #8FDD49 #AFE77D #CFF1B1 #EFFAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE77D#FFFFFF#000000##000000
##AFE77D1.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)
#EFDA74
Deuteranopia (green-blind)
#E7D583
Tritanopia (blue-blind)
#B1DFCE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe77d;
/* rgb */ color: rgb(175, 231, 125);
/* oklch */ color: oklch(86.6% 0.148 131.7);
Tailwind
colors: {
  custom: {
    50: '#c9efa4',
    500: '#afe77d',
    950: '#000000',
  },
}
SCSS
$custom: #afe77d;
$custom-light: #c9efa4;
$custom-dark: #000000;
JSON
{
  "hex": "#afe77d",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 125
  },
  "hsl": {
    "h": 91.698,
    "s": 68.831,
    "l": 69.804
  },
  "oklch": {
    "l": 0.86593,
    "c": 0.14798,
    "h": 131.7
  },
  "luminance": 0.67746
}

Semantic roles & 50–950 ramp

primary
#AFE77D
secondary
#8749BF
accent
#15D178
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE77D

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

Preview Lab → · Contrast checker → · Palette generator →

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