#AFF781#AFF781

#AFF781 is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.3% C 0.167 H 134.4°. Best body text is #000000 at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#AFF781
RGBrgb(175, 247, 129)
HSLhsl(97, 88%, 74%)
HSVhsv(97, 48%, 97%)
CMYKcmyk(29.1%, 0%, 47.8%, 3.1%)
CIE-LABlab(90.42, -42.31, 49.45)
CIE-LCHlch(90.42, 65.08, 130.55°)
OKLaboklab(90.29% -0.1166 0.1191)
OKLCHoklch(90.29% 0.167 134.4)
XYZxyz(54.9012, 77.2186, 32.7767)
Luminance0.7722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF781 #C981F7
analogous
#EAF781 #AFF781 #81F78E
triadic
#AFF781 #81AFF7 #F781AF
tetradic
#AFF781 #81EAF7 #C981F7 #F78E81
square
#AFF781 #81EAF7 #C981F7 #F78E81
split-complementary
#AFF781 #8E81F7 #F781EA
monochromatic
#66EE0F #8AF347 #AFF781 #D4FBBB #EDFDE2

Accessibility & contrast

On white

1.28
#AFF781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.44
#AFF781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF781
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF781#FFFFFF#000000##000000
##AFF7811.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE777
Deuteranopia (green-blind)
#F4E188
Tritanopia (blue-blind)
#AFEFDB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff781;
/* rgb */ color: rgb(175, 247, 129);
/* oklch */ color: oklch(90.3% 0.167 134.4);
Tailwind
colors: {
  custom: {
    50: '#cafaa8',
    500: '#aff781',
    950: '#000000',
  },
}
SCSS
$custom: #aff781;
$custom-light: #cafaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#aff781",
  "rgb": {
    "r": 175,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 96.61,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90285,
    "c": 0.16667,
    "h": 134.4
  },
  "luminance": 0.7722
}

Semantic roles & 50–950 ramp

primary
#AFF781
secondary
#9D49D4
accent
#01E58C
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF781

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

Preview Lab → · Contrast checker → · Palette generator →

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