#AFF178#AFF178

#AFF178 is a very light, vivid yellow-green. Relative luminance 0.734; OKLCH L 88.8% C 0.167 H 132.5°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#AFF178
RGBrgb(175, 241, 120)
HSLhsl(93, 81%, 71%)
HSVhsv(93, 50%, 95%)
CMYKcmyk(27.4%, 0%, 50.2%, 5.5%)
CIE-LABlab(88.63, -40.68, 51.48)
CIE-LCHlch(88.63, 65.61, 128.32°)
OKLaboklab(88.8% -0.1127 0.123)
OKLCHoklch(88.8% 0.167 132.5)
XYZxyz(52.5238, 73.3791, 29.1619)
Luminance0.7338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF178 #BA78F1
analogous
#ECF178 #AFF178 #78F17D
triadic
#AFF178 #78AFF1 #F178AF
tetradic
#AFF178 #78ECF1 #BA78F1 #F17D78
square
#AFF178 #78ECF1 #BA78F1 #F17D78
split-complementary
#AFF178 #7D78F1 #F178EC
monochromatic
#6ED816 #8EEB41 #AFF178 #D0F7AF #EFFCE3

Accessibility & contrast

On white

1.34
#AFF178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#AFF178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF178
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF178#FFFFFF#000000##000000
##AFF1781.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26D
Deuteranopia (green-blind)
#F0DD80
Tritanopia (blue-blind)
#B1E9D5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #aff178;
/* rgb */ color: rgb(175, 241, 120);
/* oklch */ color: oklch(88.8% 0.167 132.5);
Tailwind
colors: {
  custom: {
    50: '#c9f6a1',
    500: '#aff178',
    950: '#000000',
  },
}
SCSS
$custom: #aff178;
$custom-light: #c9f6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#aff178",
  "rgb": {
    "r": 175,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 92.727,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88797,
    "c": 0.1668,
    "h": 132.5
  },
  "luminance": 0.73381
}

Semantic roles & 50–950 ramp

primary
#AFF178
secondary
#8D42CB
accent
#08DE7C
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFF178

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

Preview Lab → · Contrast checker → · Palette generator →

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