#BAC97F#BAC97F

#BAC97F is a light, moderate yellow-green. Relative luminance 0.537; OKLCH L 80.7% C 0.098 H 118.0°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#BAC97F
RGBrgb(186, 201, 127)
HSLhsl(72, 41%, 64%)
HSVhsv(72, 37%, 79%)
CMYKcmyk(7.5%, 0%, 36.8%, 21.2%)
CIE-LABlab(78.31, -16.92, 35.30)
CIE-LCHlch(78.31, 39.15, 115.60°)
OKLaboklab(80.71% -0.0462 0.0869)
OKLCHoklch(80.71% 0.098 118)
XYZxyz(44.9672, 53.7450, 28.0795)
Luminance0.5374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC97F #8E7FC9
analogous
#C9B37F #BAC97F #95C97F
triadic
#BAC97F #7FBAC9 #C97FBA
tetradic
#BAC97F #7FC9B3 #8E7FC9 #C97F95
square
#BAC97F #7FC9B3 #8E7FC9 #C97F95
split-complementary
#BAC97F #7F95C9 #B37FC9
monochromatic
#80913D #A3B754 #BAC97F #D1DBAA #E8EDD5

Accessibility & contrast

On white

1.79
#BAC97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#BAC97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC97F
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC97F#FFFFFF#000000##000000
##BAC97F1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C27A
Deuteranopia (green-blind)
#D1C282
Tritanopia (blue-blind)
#C1C2B6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bac97f;
/* rgb */ color: rgb(186, 201, 127);
/* oklch */ color: oklch(80.7% 0.098 118.0);
Tailwind
colors: {
  custom: {
    50: '#cfd9a5',
    500: '#bac97f',
    950: '#000000',
  },
}
SCSS
$custom: #bac97f;
$custom-light: #cfd9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#bac97f",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 127
  },
  "hsl": {
    "h": 72.162,
    "s": 40.659,
    "l": 64.314
  },
  "oklch": {
    "l": 0.80709,
    "c": 0.09838,
    "h": 118
  },
  "luminance": 0.53745
}

Semantic roles & 50–950 ramp

primary
#BAC97F
secondary
#625498
accent
#32B44C
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#14140F
muted
#838380

Preview Lab

Preview with #BAC97F

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

Preview Lab → · Contrast checker → · Palette generator →

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