#BAC981#BAC981

#BAC981 is a light, moderate yellow-green. Relative luminance 0.538; OKLCH L 80.7% C 0.096 H 118.2°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#BAC981
RGBrgb(186, 201, 129)
HSLhsl(73, 40%, 65%)
HSVhsv(73, 36%, 79%)
CMYKcmyk(7.5%, 0%, 35.8%, 21.2%)
CIE-LABlab(78.34, -16.67, 34.32)
CIE-LCHlch(78.34, 38.15, 115.91°)
OKLaboklab(80.74% -0.0454 0.0847)
OKLCHoklch(80.74% 0.096 118.2)
XYZxyz(45.0988, 53.7976, 28.7727)
Luminance0.5380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC981 #9081C9
analogous
#C9B481 #BAC981 #96C981
triadic
#BAC981 #81BAC9 #C981BA
tetradic
#BAC981 #81C9B4 #9081C9 #C98196
square
#BAC981 #81C9B4 #9081C9 #C98196
split-complementary
#BAC981 #8196C9 #B481C9
monochromatic
#80913E #A3B756 #BAC981 #D1DBAC #E9EED7

Accessibility & contrast

On white

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

On black

11.76
#BAC981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC981
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC981#FFFFFF#000000##000000
##BAC9811.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C27C
Deuteranopia (green-blind)
#D0C284
Tritanopia (blue-blind)
#C1C2B7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bac981;
/* rgb */ color: rgb(186, 201, 129);
/* oklch */ color: oklch(80.7% 0.096 118.2);
Tailwind
colors: {
  custom: {
    50: '#cfd9a6',
    500: '#bac981',
    950: '#000000',
  },
}
SCSS
$custom: #bac981;
$custom-light: #cfd9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#bac981",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 129
  },
  "hsl": {
    "h": 72.5,
    "s": 40,
    "l": 64.706
  },
  "oklch": {
    "l": 0.80744,
    "c": 0.09605,
    "h": 118.2
  },
  "luminance": 0.53797
}

Semantic roles & 50–950 ramp

primary
#BAC981
secondary
#645698
accent
#32B34D
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#14140F
muted
#838380

Preview Lab

Preview with #BAC981

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

Preview Lab → · Contrast checker → · Palette generator →

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