#A6D87F#A6D87F

#A6D87F is a very light, vivid yellow-green. Relative luminance 0.588; OKLCH L 82.7% C 0.129 H 132.5°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#A6D87F
RGBrgb(166, 216, 127)
HSLhsl(94, 53%, 67%)
HSVhsv(94, 41%, 85%)
CMYKcmyk(23.1%, 0%, 41.2%, 15.3%)
CIE-LABlab(81.15, -31.65, 38.69)
CIE-LCHlch(81.15, 49.99, 129.28°)
OKLaboklab(82.65% -0.0869 0.0947)
OKLCHoklch(82.65% 0.129 132.5)
XYZxyz(44.1117, 58.7500, 29.0904)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D87F #B17FD8
analogous
#D2D87F #A6D87F #7FD885
triadic
#A6D87F #7FA6D8 #D87FA6
tetradic
#A6D87F #7FD2D8 #B17FD8 #D8857F
square
#A6D87F #7FD2D8 #B17FD8 #D8857F
split-complementary
#A6D87F #857FD8 #D87FD2
monochromatic
#67A934 #85CA50 #A6D87F #C7E6AE #E7F5DD

Accessibility & contrast

On white

1.65
#A6D87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#A6D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D87F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D87F#FFFFFF#000000##000000
##A6D87F1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC78
Deuteranopia (green-blind)
#D7C884
Tritanopia (blue-blind)
#A7D1C2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #a6d87f;
/* rgb */ color: rgb(166, 216, 127);
/* oklch */ color: oklch(82.7% 0.129 132.5);
Tailwind
colors: {
  custom: {
    50: '#c2e4a5',
    500: '#a6d87f',
    950: '#000000',
  },
}
SCSS
$custom: #a6d87f;
$custom-light: #c2e4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d87f",
  "rgb": {
    "r": 166,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 93.708,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.82651,
    "c": 0.12856,
    "h": 132.5
  },
  "luminance": 0.58751
}

Semantic roles & 50–950 ramp

primary
#A6D87F
secondary
#834FAC
accent
#25C17C
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#12150F
muted
#828480

Preview Lab

Preview with #A6D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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