#A6C87F#A6C87F

#A6C87F is a light, moderate yellow-green. Relative luminance 0.509; OKLCH L 79.0% C 0.104 H 128.9°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#A6C87F
RGBrgb(166, 200, 127)
HSLhsl(88, 40%, 64%)
HSVhsv(88, 37%, 78%)
CMYKcmyk(17%, 0%, 36.5%, 21.6%)
CIE-LABlab(76.65, -23.99, 32.87)
CIE-LCHlch(76.65, 40.70, 126.12°)
OKLaboklab(79.03% -0.0655 0.0813)
OKLCHoklch(79.03% 0.104 128.9)
XYZxyz(40.2104, 50.9473, 27.7899)
Luminance0.5095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C87F #A17FC8
analogous
#C8C67F #A6C87F #82C87F
triadic
#A6C87F #7FA6C8 #C87FA6
tetradic
#A6C87F #7FC8C6 #A17FC8 #C87F82
square
#A6C87F #7FC8C6 #A17FC8 #C87F82
split-complementary
#A6C87F #7F82C8 #C67FC8
monochromatic
#698F3D #88B654 #A6C87F #C4DAAA #E2EDD5

Accessibility & contrast

On white

1.88
#A6C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#A6C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C87F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C87F#FFFFFF#000000##000000
##A6C87F1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBF7A
Deuteranopia (green-blind)
#CABC83
Tritanopia (blue-blind)
#A9C2B6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a6c87f;
/* rgb */ color: rgb(166, 200, 127);
/* oklch */ color: oklch(79.0% 0.104 128.9);
Tailwind
colors: {
  custom: {
    50: '#c1d8a5',
    500: '#a6c87f',
    950: '#000000',
  },
}
SCSS
$custom: #a6c87f;
$custom-light: #c1d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c87f",
  "rgb": {
    "r": 166,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 87.945,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.79025,
    "c": 0.10444,
    "h": 128.9
  },
  "luminance": 0.50948
}

Semantic roles & 50–950 ramp

primary
#A6C87F
secondary
#735596
accent
#33B36E
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#12140F
muted
#828380

Preview Lab

Preview with #A6C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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