#A8F178#A8F178

#A8F178 is a very light, vivid yellow-green. Relative luminance 0.726; OKLCH L 88.4% C 0.170 H 134.3°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#A8F178
RGBrgb(168, 241, 120)
HSLhsl(96, 81%, 71%)
HSVhsv(96, 50%, 95%)
CMYKcmyk(30.3%, 0%, 50.2%, 5.5%)
CIE-LABlab(88.25, -43.08, 50.93)
CIE-LCHlch(88.25, 66.71, 130.23°)
OKLaboklab(88.39% -0.119 0.1218)
OKLCHoklch(88.39% 0.17 134.3)
XYZxyz(50.9928, 72.5897, 29.0901)
Luminance0.7259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F178 #C178F1
analogous
#E5F178 #A8F178 #78F184
triadic
#A8F178 #78A8F1 #F178A8
tetradic
#A8F178 #78E5F1 #C178F1 #F18478
square
#A8F178 #78E5F1 #C178F1 #F18478
split-complementary
#A8F178 #8478F1 #F178E5
monochromatic
#63D816 #84EB41 #A8F178 #CCF7AF #EDFCE3

Accessibility & contrast

On white

1.35
#A8F178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#A8F178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F178
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F178#FFFFFF#000000##000000
##A8F1781.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E16D
Deuteranopia (green-blind)
#EEDB80
Tritanopia (blue-blind)
#A8E9D5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #a8f178;
/* rgb */ color: rgb(168, 241, 120);
/* oklch */ color: oklch(88.4% 0.170 134.3);
Tailwind
colors: {
  custom: {
    50: '#c5f6a1',
    500: '#a8f178',
    950: '#000000',
  },
}
SCSS
$custom: #a8f178;
$custom-light: #c5f6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f178",
  "rgb": {
    "r": 168,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 96.198,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88393,
    "c": 0.1703,
    "h": 134.3
  },
  "luminance": 0.72591
}

Semantic roles & 50–950 ramp

primary
#A8F178
secondary
#9542CB
accent
#08DE89
background
#FDFFFC
surface
#F9FEF5
border
#D2D6CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A8F178

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

Preview Lab → · Contrast checker → · Palette generator →

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