#AFF478#AFF478

#AFF478 is a very light, vivid yellow-green. Relative luminance 0.752; OKLCH L 89.5% C 0.171 H 132.9°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#AFF478
RGBrgb(175, 244, 120)
HSLhsl(93, 85%, 71%)
HSVhsv(93, 51%, 96%)
CMYKcmyk(28.3%, 0%, 50.8%, 4.3%)
CIE-LABlab(89.47, -42.00, 52.49)
CIE-LCHlch(89.47, 67.22, 128.66°)
OKLaboklab(89.48% -0.1163 0.1252)
OKLCHoklch(89.48% 0.171 132.9)
XYZxyz(53.4191, 75.1697, 29.4603)
Luminance0.7517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF478 #BD78F4
analogous
#EDF478 #AFF478 #78F47F
triadic
#AFF478 #78AFF4 #F478AF
tetradic
#AFF478 #78EDF4 #BD78F4 #F47F78
square
#AFF478 #78EDF4 #BD78F4 #F47F78
split-complementary
#AFF478 #7F78F4 #F478ED
monochromatic
#6DDF12 #8DEF3F #AFF478 #D1F9B1 #EEFDE3

Accessibility & contrast

On white

1.31
#AFF478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#AFF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF478
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF478#FFFFFF#000000##000000
##AFF4781.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE46D
Deuteranopia (green-blind)
#F3DF80
Tritanopia (blue-blind)
#B0ECD8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #aff478;
/* rgb */ color: rgb(175, 244, 120);
/* oklch */ color: oklch(89.5% 0.171 132.9);
Tailwind
colors: {
  custom: {
    50: '#caf8a2',
    500: '#aff478',
    950: '#000000',
  },
}
SCSS
$custom: #aff478;
$custom-light: #caf8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#aff478",
  "rgb": {
    "r": 175,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 93.387,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.89481,
    "c": 0.17092,
    "h": 132.9
  },
  "luminance": 0.75171
}

Semantic roles & 50–950 ramp

primary
#AFF478
secondary
#9041CF
accent
#04E17F
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFF478

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

Preview Lab → · Contrast checker → · Palette generator →

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