#BAC487#BAC487

#BAC487 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 79.8% C 0.082 H 115.9°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#BAC487
RGBrgb(186, 196, 135)
HSLhsl(70, 34%, 65%)
HSVhsv(70, 31%, 77%)
CMYKcmyk(5.1%, 0%, 31.1%, 23.1%)
CIE-LABlab(77.08, -13.37, 29.55)
CIE-LCHlch(77.08, 32.43, 114.34°)
OKLaboklab(79.77% -0.0357 0.0737)
OKLCHoklch(79.77% 0.082 115.9)
XYZxyz(44.3627, 51.6686, 30.5529)
Luminance0.5167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC487 #9187C4
analogous
#C4AF87 #BAC487 #9CC487
triadic
#BAC487 #87BAC4 #C487BA
tetradic
#BAC487 #87C4AF #9187C4 #C4879C
square
#BAC487 #87C4AF #9187C4 #C4879C
split-complementary
#BAC487 #879CC4 #AF87C4
monochromatic
#808C45 #A2B05E #BAC487 #D2D8B0 #E9ECD9

Accessibility & contrast

On white

1.85
#BAC487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#BAC487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC487
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC487#FFFFFF#000000##000000
##BAC4871.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBE83
Deuteranopia (green-blind)
#CBBF8A
Tritanopia (blue-blind)
#C1BDB4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac487;
/* rgb */ color: rgb(186, 196, 135);
/* oklch */ color: oklch(79.8% 0.082 115.9);
Tailwind
colors: {
  custom: {
    50: '#cfd5aa',
    500: '#bac487',
    950: '#000000',
  },
}
SCSS
$custom: #bac487;
$custom-light: #cfd5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#bac487",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 135
  },
  "hsl": {
    "h": 69.836,
    "s": 34.078,
    "l": 64.902
  },
  "oklch": {
    "l": 0.7977,
    "c": 0.0819,
    "h": 115.9
  },
  "luminance": 0.51668
}

Semantic roles & 50–950 ramp

primary
#BAC487
secondary
#645B94
accent
#39AD4C
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381

Preview Lab

Preview with #BAC487

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

Preview Lab → · Contrast checker → · Palette generator →

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