#A6E158#A6E158

#A6E158 is a very light, vivid yellow-green. Relative luminance 0.627; OKLCH L 84.2% C 0.177 H 129.3°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#A6E158
RGBrgb(166, 225, 88)
HSLhsl(86, 70%, 61%)
HSVhsv(86, 61%, 88%)
CMYKcmyk(26.2%, 0%, 60.9%, 11.8%)
CIE-LABlab(83.26, -39.87, 59.41)
CIE-LCHlch(83.26, 71.55, 123.86°)
OKLaboklab(84.21% -0.1124 0.1374)
OKLCHoklch(84.21% 0.177 129.3)
XYZxyz(44.4123, 62.6609, 18.9855)
Luminance0.6266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6E158 #9358E1
analogous
#E1D758 #A6E158 #62E158
triadic
#A6E158 #58A6E1 #E158A6
tetradic
#A6E158 #58E1D7 #9358E1 #E15862
square
#A6E158 #58E1D7 #9358E1 #E15862
split-complementary
#A6E158 #5862E1 #D758E1
monochromatic
#68A21D #8AD526 #A6E158 #C2EA8C #DDF4C0

Accessibility & contrast

On white

1.55
#A6E158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#A6E158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6E158
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6E158#FFFFFF#000000##000000
##A6E1581.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD248
Deuteranopia (green-blind)
#E3CE62
Tritanopia (blue-blind)
#AAD8C4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #a6e158;
/* rgb */ color: rgb(166, 225, 88);
/* oklch */ color: oklch(84.2% 0.177 129.3);
Tailwind
colors: {
  custom: {
    50: '#c4ea8c',
    500: '#a6e158',
    950: '#000000',
  },
}
SCSS
$custom: #a6e158;
$custom-light: #c4ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6e158",
  "rgb": {
    "r": 166,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 85.839,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84212,
    "c": 0.17749,
    "h": 129.3
  },
  "luminance": 0.62662
}

Semantic roles & 50–950 ramp

primary
#A6E158
secondary
#6739A4
accent
#14D266
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A6E158

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

Preview Lab → · Contrast checker → · Palette generator →

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