#AFF778#AFF778

#AFF778 is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.2% C 0.175 H 133.3°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#AFF778
RGBrgb(175, 247, 120)
HSLhsl(94, 89%, 72%)
HSVhsv(94, 51%, 97%)
CMYKcmyk(29.1%, 0%, 51.4%, 3.1%)
CIE-LABlab(90.32, -43.31, 53.51)
CIE-LCHlch(90.32, 68.84, 128.99°)
OKLaboklab(90.17% -0.12 0.1274)
OKLCHoklch(90.17% 0.175 133.3)
XYZxyz(54.3291, 76.9898, 29.7637)
Luminance0.7699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF778 #C078F7
analogous
#EEF778 #AFF778 #78F781
triadic
#AFF778 #78AFF7 #F778AF
tetradic
#AFF778 #78EEF7 #C078F7 #F78178
square
#AFF778 #78EEF7 #C078F7 #F78178
split-complementary
#AFF778 #8178F7 #F778EE
monochromatic
#6CE70E #8DF43E #AFF778 #D1FAB2 #EEFDE2

Accessibility & contrast

On white

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

On black

16.40
#AFF778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF778
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF778#FFFFFF#000000##000000
##AFF7781.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76C
Deuteranopia (green-blind)
#F5E180
Tritanopia (blue-blind)
#B0EFDA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #aff778;
/* rgb */ color: rgb(175, 247, 120);
/* oklch */ color: oklch(90.2% 0.175 133.3);
Tailwind
colors: {
  custom: {
    50: '#cafaa2',
    500: '#aff778',
    950: '#000000',
  },
}
SCSS
$custom: #aff778;
$custom-light: #cafaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#aff778",
  "rgb": {
    "r": 175,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 94.016,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90166,
    "c": 0.17502,
    "h": 133.3
  },
  "luminance": 0.76992
}

Semantic roles & 50–950 ramp

primary
#AFF778
secondary
#9341D3
accent
#00E582
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFF778

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

Preview Lab → · Contrast checker → · Palette generator →

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