#BAC07F#BAC07F

#BAC07F is a light, moderate yellow. Relative luminance 0.497; OKLCH L 78.8% C 0.086 H 112.7°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#BAC07F
RGBrgb(186, 192, 127)
HSLhsl(66, 34%, 63%)
HSVhsv(66, 34%, 75%)
CMYKcmyk(3.1%, 0%, 33.9%, 24.7%)
CIE-LABlab(75.87, -12.35, 32.12)
CIE-LCHlch(75.87, 34.41, 111.03°)
OKLaboklab(78.76% -0.0332 0.0795)
OKLCHoklch(78.76% 0.086 112.7)
XYZxyz(42.9303, 49.6712, 27.4005)
Luminance0.4967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC07F #857FC0
analogous
#C0A57F #BAC07F #9AC07F
triadic
#BAC07F #7FBAC0 #C07FBA
tetradic
#BAC07F #7FC0A5 #857FC0 #C07F9A
square
#BAC07F #7FC0A5 #857FC0 #C07F9A
split-complementary
#BAC07F #7F9AC0 #A57FC0
monochromatic
#7E8441 #A4AC56 #BAC07F #D0D4A8 #E6E8D1

Accessibility & contrast

On white

1.92
#BAC07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#BAC07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC07F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC07F#FFFFFF#000000##000000
##BAC07F1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9BA7A
Deuteranopia (green-blind)
#C9BC82
Tritanopia (blue-blind)
#C2B9AF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac07f;
/* rgb */ color: rgb(186, 192, 127);
/* oklch */ color: oklch(78.8% 0.086 112.7);
Tailwind
colors: {
  custom: {
    50: '#cfd3a5',
    500: '#bac07f',
    950: '#000000',
  },
}
SCSS
$custom: #bac07f;
$custom-light: #cfd3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#bac07f",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 127
  },
  "hsl": {
    "h": 65.538,
    "s": 34.031,
    "l": 62.549
  },
  "oklch": {
    "l": 0.7876,
    "c": 0.08614,
    "h": 112.7
  },
  "luminance": 0.49671
}

Semantic roles & 50–950 ramp

primary
#BAC07F
secondary
#C4C2D9
accent
#39AD43
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#14140F
muted
#82827F

Preview Lab

Preview with #BAC07F

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

Preview Lab → · Contrast checker → · Palette generator →

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