#BAC77F#BAC77F

#BAC77F is a light, moderate yellow-green. Relative luminance 0.528; OKLCH L 80.3% C 0.096 H 116.9°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#BAC77F
RGBrgb(186, 199, 127)
HSLhsl(71, 39%, 64%)
HSVhsv(71, 36%, 78%)
CMYKcmyk(6.5%, 0%, 36.2%, 22%)
CIE-LABlab(77.77, -15.91, 34.60)
CIE-LCHlch(77.77, 38.08, 114.70°)
OKLaboklab(80.27% -0.0433 0.0852)
OKLCHoklch(80.27% 0.096 116.9)
XYZxyz(44.5040, 52.8186, 27.9251)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC77F #8C7FC7
analogous
#C7B07F #BAC77F #96C77F
triadic
#BAC77F #7FBAC7 #C77FBA
tetradic
#BAC77F #7FC7B0 #8C7FC7 #C77F96
square
#BAC77F #7FC7B0 #8C7FC7 #C77F96
split-complementary
#BAC77F #7F96C7 #B07FC7
monochromatic
#7F8E3E #A3B454 #BAC77F #D1DAAA #E8ECD4

Accessibility & contrast

On white

1.82
#BAC77F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#BAC77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC77F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC77F#FFFFFF#000000##000000
##BAC77F1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07A
Deuteranopia (green-blind)
#CFC182
Tritanopia (blue-blind)
#C1C0B5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac77f;
/* rgb */ color: rgb(186, 199, 127);
/* oklch */ color: oklch(80.3% 0.096 116.9);
Tailwind
colors: {
  custom: {
    50: '#cfd8a5',
    500: '#bac77f',
    950: '#000000',
  },
}
SCSS
$custom: #bac77f;
$custom-light: #cfd8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#bac77f",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 127
  },
  "hsl": {
    "h": 70.833,
    "s": 39.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.80274,
    "c": 0.09561,
    "h": 116.9
  },
  "luminance": 0.52818
}

Semantic roles & 50–950 ramp

primary
#BAC77F
secondary
#615595
accent
#33B24A
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#14140F
muted
#838380

Preview Lab

Preview with #BAC77F

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

Preview Lab → · Contrast checker → · Palette generator →

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