#BAC87D#BAC87D

#BAC87D is a light, moderate yellow-green. Relative luminance 0.532; OKLCH L 80.5% C 0.099 H 117.3°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#BAC87D
RGBrgb(186, 200, 125)
HSLhsl(71, 41%, 64%)
HSVhsv(71, 38%, 78%)
CMYKcmyk(7%, 0%, 37.5%, 21.6%)
CIE-LABlab(78.01, -16.66, 35.94)
CIE-LCHlch(78.01, 39.61, 114.87°)
OKLaboklab(80.46% -0.0456 0.0882)
OKLCHoklch(80.46% 0.099 117.3)
XYZxyz(44.6058, 53.2286, 27.3223)
Luminance0.5323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC87D #8B7DC8
analogous
#C8B07D #BAC87D #94C87D
triadic
#BAC87D #7DBAC8 #C87DBA
tetradic
#BAC87D #7DC8B0 #8B7DC8 #C87D94
square
#BAC87D #7DC8B0 #8B7DC8 #C87D94
split-complementary
#BAC87D #7D94C8 #B07DC8
monochromatic
#7F8E3C #A3B652 #BAC87D #D1DAA8 #E8ECD3

Accessibility & contrast

On white

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

On black

11.65
#BAC87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC87D
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC87D#FFFFFF#000000##000000
##BAC87D1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C177
Deuteranopia (green-blind)
#D0C181
Tritanopia (blue-blind)
#C1C0B5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bac87d;
/* rgb */ color: rgb(186, 200, 125);
/* oklch */ color: oklch(80.5% 0.099 117.3);
Tailwind
colors: {
  custom: {
    50: '#d0d8a3',
    500: '#bac87d',
    950: '#000000',
  },
}
SCSS
$custom: #bac87d;
$custom-light: #d0d8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#bac87d",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 125
  },
  "hsl": {
    "h": 71.2,
    "s": 40.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.80457,
    "c": 0.0993,
    "h": 117.3
  },
  "luminance": 0.53228
}

Semantic roles & 50–950 ramp

primary
#BAC87D
secondary
#605496
accent
#32B44A
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140F
muted
#838380

Preview Lab

Preview with #BAC87D

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

Preview Lab → · Contrast checker → · Palette generator →

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