#AFFE77#AFFE77

#AFFE77 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 91.8% C 0.185 H 133.9°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#AFFE77
RGBrgb(175, 254, 119)
HSLhsl(95, 99%, 73%)
HSVhsv(95, 53%, 100%)
CMYKcmyk(31.1%, 0%, 53.1%, 0.4%)
CIE-LABlab(92.28, -46.43, 56.29)
CIE-LCHlch(92.28, 72.97, 129.51°)
OKLaboklab(91.75% -0.1286 0.1335)
OKLCHoklch(91.75% 0.185 133.9)
XYZxyz(56.4497, 81.3274, 30.1727)
Luminance0.8133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE77 #C677FE
analogous
#F3FE77 #AFFE77 #77FE82
triadic
#AFFE77 #77AFFE #FE77AF
tetradic
#AFFE77 #77F3FE #C677FE #FE8277
square
#AFFE77 #77F3FE #C677FE #FE8277
split-complementary
#AFFE77 #8277FE #FE77F3
monochromatic
#68F902 #8BFE3A #AFFE77 #D3FEB4 #EDFFE1

Accessibility & contrast

On white

1.22
#AFFE77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#AFFE77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE77
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE77#FFFFFF#000000##000000
##AFFE771.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6A
Deuteranopia (green-blind)
#FBE780
Tritanopia (blue-blind)
#AFF5E0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affe77;
/* rgb */ color: rgb(175, 254, 119);
/* oklch */ color: oklch(91.8% 0.185 133.9);
Tailwind
colors: {
  custom: {
    50: '#caffa1',
    500: '#affe77',
    950: '#000000',
  },
}
SCSS
$custom: #affe77;
$custom-light: #caffa1;
$custom-dark: #000000;
JSON
{
  "hex": "#affe77",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 119
  },
  "hsl": {
    "h": 95.111,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91754,
    "c": 0.18536,
    "h": 133.9
  },
  "luminance": 0.81329
}

Semantic roles & 50–950 ramp

primary
#AFFE77
secondary
#9A3EDC
accent
#00E686
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFE77

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

Preview Lab → · Contrast checker → · Palette generator →

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