#AFE877#AFE877

#AFE877 is a very light, vivid yellow-green. Relative luminance 0.682; OKLCH L 86.7% C 0.155 H 131.0°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#AFE877
RGBrgb(175, 232, 119)
HSLhsl(90, 71%, 69%)
HSVhsv(90, 49%, 91%)
CMYKcmyk(24.6%, 0%, 48.7%, 9%)
CIE-LABlab(86.09, -36.76, 48.86)
CIE-LCHlch(86.09, 61.14, 126.96°)
OKLaboklab(86.74% -0.1019 0.1171)
OKLCHoklch(86.74% 0.155 131)
XYZxyz(49.8649, 68.1579, 27.9778)
Luminance0.6816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE877 #B077E8
analogous
#E8E877 #AFE877 #77E878
triadic
#AFE877 #77AFE8 #E877AF
tetradic
#AFE877 #77E8E8 #B077E8 #E87877
square
#AFE877 #77E8E8 #B077E8 #E87877
split-complementary
#AFE877 #7877E8 #E877E8
monochromatic
#72C421 #90DF43 #AFE877 #CEF1AB #EDFAE0

Accessibility & contrast

On white

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

On black

14.63
#AFE877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE877
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE877#FFFFFF#000000##000000
##AFE8771.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA6D
Deuteranopia (green-blind)
#E8D67E
Tritanopia (blue-blind)
#B2E0CE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe877;
/* rgb */ color: rgb(175, 232, 119);
/* oklch */ color: oklch(86.7% 0.155 131.0);
Tailwind
colors: {
  custom: {
    50: '#c9efa0',
    500: '#afe877',
    950: '#000000',
  },
}
SCSS
$custom: #afe877;
$custom-light: #c9efa0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe877",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 119
  },
  "hsl": {
    "h": 90.265,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86736,
    "c": 0.15526,
    "h": 131
  },
  "luminance": 0.68159
}

Semantic roles & 50–950 ramp

primary
#AFE877
secondary
#8243C0
accent
#12D374
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE877

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

Preview Lab → · Contrast checker → · Palette generator →

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