#A6F158#A6F158

#A6F158 is a very light, vivid yellow-green. Relative luminance 0.717; OKLCH L 87.9% C 0.198 H 131.6°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#A6F158
RGBrgb(166, 241, 88)
HSLhsl(89, 85%, 65%)
HSVhsv(89, 63%, 95%)
CMYKcmyk(31.1%, 0%, 63.5%, 5.5%)
CIE-LABlab(87.83, -46.80, 64.40)
CIE-LCHlch(87.83, 79.61, 126.00°)
OKLaboklab(87.92% -0.1314 0.1479)
OKLCHoklch(87.92% 0.198 131.6)
XYZxyz(48.9421, 71.7205, 20.4954)
Luminance0.7172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F158 #A358F1
analogous
#F1F058 #A6F158 #5AF158
triadic
#A6F158 #58A6F1 #F158A6
tetradic
#A6F158 #58F1F0 #A358F1 #F1585A
square
#A6F158 #58F1F0 #A358F1 #F1585A
split-complementary
#A6F158 #585AF1 #F058F1
monochromatic
#69BF10 #88EC20 #A6F158 #C4F690 #E2FAC9

Accessibility & contrast

On white

1.37
#A6F158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#A6F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F158
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F158#FFFFFF#000000##000000
##A6F1581.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE045
Deuteranopia (green-blind)
#F0DA64
Tritanopia (blue-blind)
#A8E8D1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #a6f158;
/* rgb */ color: rgb(166, 241, 88);
/* oklch */ color: oklch(87.9% 0.198 131.6);
Tailwind
colors: {
  custom: {
    50: '#c5f68d',
    500: '#a6f158',
    950: '#000000',
  },
}
SCSS
$custom: #a6f158;
$custom-light: #c5f68d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f158",
  "rgb": {
    "r": 166,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 89.412,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87924,
    "c": 0.19789,
    "h": 131.6
  },
  "luminance": 0.71722
}

Semantic roles & 50–950 ramp

primary
#A6F158
secondary
#7530BD
accent
#05E171
background
#FEFFFC
surface
#FAFEF4
border
#D3D6CE
text
#13170D
muted
#83857F

Preview Lab

Preview with #A6F158

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

Preview Lab → · Contrast checker → · Palette generator →

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