#A6F987#A6F987

#A6F987 is a very light, vivid green. Relative luminance 0.776; OKLCH L 90.3% C 0.168 H 137.7°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#A6F987
RGBrgb(166, 249, 135)
HSLhsl(104, 90%, 75%)
HSVhsv(104, 46%, 98%)
CMYKcmyk(33.3%, 0%, 45.8%, 2.4%)
CIE-LABlab(90.60, -45.43, 46.72)
CIE-LCHlch(90.60, 65.17, 134.20°)
OKLaboklab(90.33% -0.1246 0.1133)
OKLCHoklch(90.33% 0.168 137.7)
XYZxyz(53.9731, 77.6053, 35.0525)
Luminance0.7761 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F987 #DA87F9
analogous
#DFF987 #A6F987 #87F9A1
triadic
#A6F987 #87A6F9 #F987A6
tetradic
#A6F987 #87DFF9 #DA87F9 #F9A187
square
#A6F987 #87DFF9 #DA87F9 #F9A187
split-complementary
#A6F987 #A187F9 #F987DF
monochromatic
#50F312 #7BF64D #A6F987 #D1FCC1 #E9FEE2

Accessibility & contrast

On white

1.27
#A6F987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#A6F987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F987
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F987#FFFFFF#000000##000000
##A6F9871.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97E
Deuteranopia (green-blind)
#F3E18E
Tritanopia (blue-blind)
#A2F2DE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #a6f987;
/* rgb */ color: rgb(166, 249, 135);
/* oklch */ color: oklch(90.3% 0.168 137.7);
Tailwind
colors: {
  custom: {
    50: '#c4fbac',
    500: '#a6f987',
    950: '#000000',
  },
}
SCSS
$custom: #a6f987;
$custom-light: #c4fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f987",
  "rgb": {
    "r": 166,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 103.684,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.90331,
    "c": 0.16842,
    "h": 137.7
  },
  "luminance": 0.77608
}

Semantic roles & 50–950 ramp

primary
#A6F987
secondary
#B24DD7
accent
#00E6A7
background
#FDFFFD
surface
#F9FFF7
border
#D2D7D0
text
#131710
muted
#828581

Preview Lab

Preview with #A6F987

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

Preview Lab → · Contrast checker → · Palette generator →

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