#A6BB87#A6BB87

#A6BB87 is a light, moderate yellow-green. Relative luminance 0.454; OKLCH L 76.3% C 0.075 H 126.0°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#A6BB87
RGBrgb(166, 187, 135)
HSLhsl(84, 28%, 63%)
HSVhsv(84, 28%, 73%)
CMYKcmyk(11.2%, 0%, 27.8%, 26.7%)
CIE-LABlab(73.15, -16.36, 24.03)
CIE-LCHlch(73.15, 29.07, 124.25°)
OKLaboklab(76.27% -0.044 0.0606)
OKLCHoklch(76.27% 0.075 126)
XYZxyz(37.8688, 45.3967, 29.6844)
Luminance0.4540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BB87 #9C87BB
analogous
#BBB687 #A6BB87 #8CBB87
triadic
#A6BB87 #87A6BB #BB87A6
tetradic
#A6BB87 #87BBB6 #9C87BB #BB878C
square
#A6BB87 #87BBB6 #9C87BB #BB878C
split-complementary
#A6BB87 #878CBB #B687BB
monochromatic
#697F48 #89A560 #A6BB87 #C3D1AE #E0E7D5

Accessibility & contrast

On white

2.08
#A6BB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#A6BB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BB87
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BB87#FFFFFF#000000##000000
##A6BB871.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B484
Deuteranopia (green-blind)
#BEB389
Tritanopia (blue-blind)
#A9B6AD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a6bb87;
/* rgb */ color: rgb(166, 187, 135);
/* oklch */ color: oklch(76.3% 0.075 126.0);
Tailwind
colors: {
  custom: {
    50: '#c1cfaa',
    500: '#a6bb87',
    950: '#000000',
  },
}
SCSS
$custom: #a6bb87;
$custom-light: #c1cfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bb87",
  "rgb": {
    "r": 166,
    "g": 187,
    "b": 135
  },
  "hsl": {
    "h": 84.231,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.76274,
    "c": 0.07485,
    "h": 126
  },
  "luminance": 0.45397
}

Semantic roles & 50–950 ramp

primary
#A6BB87
secondary
#CDC6D8
accent
#3FA669
background
#FBFCFA
surface
#F7F9F4
border
#D0D2CE
text
#121310
muted
#81827F

Preview Lab

Preview with #A6BB87

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

Preview Lab → · Contrast checker → · Palette generator →

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