#AFF877#AFF877

#AFF877 is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.4% C 0.177 H 133.3°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#AFF877
RGBrgb(175, 248, 119)
HSLhsl(94, 90%, 72%)
HSVhsv(94, 52%, 97%)
CMYKcmyk(29.4%, 0%, 52%, 2.7%)
CIE-LABlab(90.59, -43.85, 54.29)
CIE-LCHlch(90.59, 69.78, 128.93°)
OKLaboklab(90.38% -0.1215 0.1291)
OKLCHoklch(90.38% 0.177 133.3)
XYZxyz(54.5754, 77.5788, 29.5479)
Luminance0.7758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF877 #C077F8
analogous
#F0F877 #AFF877 #77F87F
triadic
#AFF877 #77AFF8 #F877AF
tetradic
#AFF877 #77F0F8 #C077F8 #F87F77
square
#AFF877 #77F0F8 #C077F8 #F87F77
split-complementary
#AFF877 #7F77F8 #F877F0
monochromatic
#6CE90C #8DF53D #AFF877 #D1FBB1 #EEFEE2

Accessibility & contrast

On white

1.27
#AFF877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#AFF877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF877
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF877#FFFFFF#000000##000000
##AFF8771.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86B
Deuteranopia (green-blind)
#F6E27F
Tritanopia (blue-blind)
#B0F0DB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff877;
/* rgb */ color: rgb(175, 248, 119);
/* oklch */ color: oklch(90.4% 0.177 133.3);
Tailwind
colors: {
  custom: {
    50: '#cafba1',
    500: '#aff877',
    950: '#000000',
  },
}
SCSS
$custom: #aff877;
$custom-light: #cafba1;
$custom-dark: #000000;
JSON
{
  "hex": "#aff877",
  "rgb": {
    "r": 175,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 93.953,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90382,
    "c": 0.17727,
    "h": 133.3
  },
  "luminance": 0.77581
}

Semantic roles & 50–950 ramp

primary
#AFF877
secondary
#933FD4
accent
#00E682
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFF877

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

Preview Lab → · Contrast checker → · Palette generator →

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