#BAC87F#BAC87F

#BAC87F is a light, moderate yellow-green. Relative luminance 0.533; OKLCH L 80.5% C 0.097 H 117.5°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#BAC87F
RGBrgb(186, 200, 127)
HSLhsl(72, 40%, 64%)
HSVhsv(72, 37%, 78%)
CMYKcmyk(7%, 0%, 36.5%, 21.6%)
CIE-LABlab(78.04, -16.41, 34.95)
CIE-LCHlch(78.04, 38.61, 115.16°)
OKLaboklab(80.49% -0.0448 0.086)
OKLCHoklch(80.49% 0.097 117.5)
XYZxyz(44.7348, 53.2803, 28.0020)
Luminance0.5328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC87F #8D7FC8
analogous
#C8B27F #BAC87F #96C87F
triadic
#BAC87F #7FBAC8 #C87FBA
tetradic
#BAC87F #7FC8B2 #8D7FC8 #C87F96
square
#BAC87F #7FC8B2 #8D7FC8 #C87F96
split-complementary
#BAC87F #7F96C8 #B27FC8
monochromatic
#7F8F3D #A3B654 #BAC87F #D1DAAA #E8EDD5

Accessibility & contrast

On white

1.80
#BAC87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#BAC87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC87F
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC87F#FFFFFF#000000##000000
##BAC87F1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C17A
Deuteranopia (green-blind)
#D0C182
Tritanopia (blue-blind)
#C1C1B6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bac87f;
/* rgb */ color: rgb(186, 200, 127);
/* oklch */ color: oklch(80.5% 0.097 117.5);
Tailwind
colors: {
  custom: {
    50: '#cfd8a5',
    500: '#bac87f',
    950: '#000000',
  },
}
SCSS
$custom: #bac87f;
$custom-light: #cfd8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#bac87f",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 71.507,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.80491,
    "c": 0.09699,
    "h": 117.5
  },
  "luminance": 0.5328
}

Semantic roles & 50–950 ramp

primary
#BAC87F
secondary
#615596
accent
#33B34B
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#14140F
muted
#838380

Preview Lab

Preview with #BAC87F

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

Preview Lab → · Contrast checker → · Palette generator →

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