#A6F178#A6F178

#A6F178 is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.3% C 0.171 H 134.8°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#A6F178
RGBrgb(166, 241, 120)
HSLhsl(97, 81%, 71%)
HSVhsv(97, 50%, 95%)
CMYKcmyk(31.1%, 0%, 50.2%, 5.5%)
CIE-LABlab(88.15, -43.75, 50.78)
CIE-LCHlch(88.15, 67.03, 130.75°)
OKLaboklab(88.28% -0.1208 0.1215)
OKLCHoklch(88.28% 0.171 134.8)
XYZxyz(50.5702, 72.3718, 29.0703)
Luminance0.7237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F178 #C378F1
analogous
#E2F178 #A6F178 #78F186
triadic
#A6F178 #78A6F1 #F178A6
tetradic
#A6F178 #78E2F1 #C378F1 #F18678
square
#A6F178 #78E2F1 #C378F1 #F18678
split-complementary
#A6F178 #8678F1 #F178E2
monochromatic
#60D816 #81EB41 #A6F178 #CBF7AF #EDFCE3

Accessibility & contrast

On white

1.36
#A6F178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#A6F178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F178
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F178#FFFFFF#000000##000000
##A6F1781.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6f178;
/* rgb */ color: rgb(166, 241, 120);
/* oklch */ color: oklch(88.3% 0.171 134.8);
Tailwind
colors: {
  custom: {
    50: '#c3f6a1',
    500: '#a6f178',
    950: '#000000',
  },
}
SCSS
$custom: #a6f178;
$custom-light: #c3f6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f178",
  "rgb": {
    "r": 166,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 97.19,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.8828,
    "c": 0.17132,
    "h": 134.8
  },
  "luminance": 0.72374
}

Semantic roles & 50–950 ramp

primary
#A6F178
secondary
#9742CB
accent
#08DE8C
background
#FDFFFC
surface
#F9FEF5
border
#D2D6CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A6F178

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

Preview Lab → · Contrast checker → · Palette generator →

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