#AFE777#AFE777

#AFE777 is a very light, vivid yellow-green. Relative luminance 0.676; OKLCH L 86.5% C 0.154 H 130.9°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#AFE777
RGBrgb(175, 231, 119)
HSLhsl(90, 70%, 69%)
HSVhsv(90, 48%, 91%)
CMYKcmyk(24.2%, 0%, 48.5%, 9.4%)
CIE-LABlab(85.80, -36.31, 48.52)
CIE-LCHlch(85.80, 60.60, 126.81°)
OKLaboklab(86.51% -0.1006 0.1164)
OKLCHoklch(86.51% 0.154 130.9)
XYZxyz(49.5842, 67.5965, 27.8842)
Luminance0.6760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE777 #AF77E7
analogous
#E7E777 #AFE777 #77E777
triadic
#AFE777 #77AFE7 #E777AF
tetradic
#AFE777 #77E7E7 #AF77E7 #E77777
square
#AFE777 #77E7E7 #AF77E7 #E77777
split-complementary
#AFE777 #7777E7 #E777E7
monochromatic
#72C122 #90DE43 #AFE777 #CEF0AB #ECF9DF

Accessibility & contrast

On white

1.45
#AFE777 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#AFE777 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE777
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE777#FFFFFF#000000##000000
##AFE7771.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D96D
Deuteranopia (green-blind)
#E8D57E
Tritanopia (blue-blind)
#B2DFCD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe777;
/* rgb */ color: rgb(175, 231, 119);
/* oklch */ color: oklch(86.5% 0.154 130.9);
Tailwind
colors: {
  custom: {
    50: '#c9efa0',
    500: '#afe777',
    950: '#000000',
  },
}
SCSS
$custom: #afe777;
$custom-light: #c9efa0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe777",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 119
  },
  "hsl": {
    "h": 90,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86508,
    "c": 0.15386,
    "h": 130.9
  },
  "luminance": 0.67598
}

Semantic roles & 50–950 ramp

primary
#AFE777
secondary
#8143BF
accent
#14D273
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE777

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

Preview Lab → · Contrast checker → · Palette generator →

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