#A6E87F#A6E87F

#A6E87F is a very light, vivid yellow-green. Relative luminance 0.674; OKLCH L 86.3% C 0.152 H 134.9°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#A6E87F
RGBrgb(166, 232, 127)
HSLhsl(98, 70%, 70%)
HSVhsv(98, 45%, 91%)
CMYKcmyk(28.4%, 0%, 45.3%, 9%)
CIE-LABlab(85.68, -38.97, 44.42)
CIE-LCHlch(85.68, 59.09, 131.26°)
OKLaboklab(86.31% -0.1072 0.1077)
OKLCHoklch(86.31% 0.152 134.9)
XYZxyz(48.4122, 67.3509, 30.5239)
Luminance0.6735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6E87F #C17FE8
analogous
#DBE87F #A6E87F #7FE88C
triadic
#A6E87F #7FA6E8 #E87FA6
tetradic
#A6E87F #7FDBE8 #C17FE8 #E88C7F
square
#A6E87F #7FDBE8 #C17FE8 #E88C7F
split-complementary
#A6E87F #8C7FE8 #E87FDB
monochromatic
#61C924 #82DF4B #A6E87F #CAF1B3 #EDFAE5

Accessibility & contrast

On white

1.45
#A6E87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.47
#A6E87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6E87F
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6E87F#FFFFFF#000000##000000
##A6E87F1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA77
Deuteranopia (green-blind)
#E5D485
Tritanopia (blue-blind)
#A6E1CF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #a6e87f;
/* rgb */ color: rgb(166, 232, 127);
/* oklch */ color: oklch(86.3% 0.152 134.9);
Tailwind
colors: {
  custom: {
    50: '#c3efa6',
    500: '#a6e87f',
    950: '#000000',
  },
}
SCSS
$custom: #a6e87f;
$custom-light: #c3efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#a6e87f",
  "rgb": {
    "r": 166,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 97.714,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.86309,
    "c": 0.15196,
    "h": 134.9
  },
  "luminance": 0.67353
}

Semantic roles & 50–950 ramp

primary
#A6E87F
secondary
#954BC1
accent
#14D28B
background
#FDFFFC
surface
#F9FEF6
border
#D2D6D0
text
#13160F
muted
#828580

Preview Lab

Preview with #A6E87F

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

Preview Lab → · Contrast checker → · Palette generator →

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