#BAC778#BAC778

#BAC778 is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.2% C 0.104 H 116.4°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#BAC778
RGBrgb(186, 199, 120)
HSLhsl(70, 41%, 63%)
HSVhsv(70, 40%, 78%)
CMYKcmyk(6.5%, 0%, 39.7%, 22%)
CIE-LABlab(77.66, -16.75, 38.04)
CIE-LCHlch(77.66, 41.56, 113.76°)
OKLaboklab(80.16% -0.0461 0.0928)
OKLCHoklch(80.16% 0.104 116.4)
XYZxyz(44.0635, 52.6424, 25.6054)
Luminance0.5264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC778 #8578C7
analogous
#C7AC78 #BAC778 #93C778
triadic
#BAC778 #78BAC7 #C778BA
tetradic
#BAC778 #78C7AC #8578C7 #C77893
square
#BAC778 #78C7AC #8578C7 #C77893
split-complementary
#BAC778 #7893C7 #AC78C7
monochromatic
#7E8B3A #A4B54D #BAC778 #D0D9A3 #E6EBCF

Accessibility & contrast

On white

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

On black

11.53
#BAC778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC778
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC778#FFFFFF#000000##000000
##BAC7781.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF72
Deuteranopia (green-blind)
#D0C17C
Tritanopia (blue-blind)
#C2BFB4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac778;
/* rgb */ color: rgb(186, 199, 120);
/* oklch */ color: oklch(80.2% 0.104 116.4);
Tailwind
colors: {
  custom: {
    50: '#d0d8a0',
    500: '#bac778',
    950: '#000000',
  },
}
SCSS
$custom: #bac778;
$custom-light: #d0d8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#bac778",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 69.873,
    "s": 41.361,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80157,
    "c": 0.10366,
    "h": 116.4
  },
  "luminance": 0.52642
}

Semantic roles & 50–950 ramp

primary
#BAC778
secondary
#5C5192
accent
#31B447
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140F
muted
#838380

Preview Lab

Preview with #BAC778

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

Preview Lab → · Contrast checker → · Palette generator →

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