#BAC856#BAC856

#BAC856 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.9% C 0.139 H 115.5°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#BAC856
RGBrgb(186, 200, 86)
HSLhsl(67, 51%, 56%)
HSVhsv(67, 57%, 78%)
CMYKcmyk(7%, 0%, 57%, 21.6%)
CIE-LABlab(77.53, -20.56, 54.25)
CIE-LCHlch(77.53, 58.02, 110.75°)
OKLaboklab(79.92% -0.06 0.1258)
OKLCHoklch(79.92% 0.139 115.5)
XYZxyz(42.5845, 52.4201, 16.6771)
Luminance0.5242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC856 #6456C8
analogous
#C89D56 #BAC856 #81C856
triadic
#BAC856 #56BAC8 #C856BA
tetradic
#BAC856 #56C89D #6456C8 #C85681
square
#BAC856 #56C89D #6456C8 #C85681
split-complementary
#BAC856 #5681C8 #9D56C8
monochromatic
#717B28 #9CAA37 #BAC856 #CDD784 #E0E6B2

Accessibility & contrast

On white

1.83
#BAC856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#BAC856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC856
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC856#FFFFFF#000000##000000
##BAC8561.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4A
Deuteranopia (green-blind)
#D4C15D
Tritanopia (blue-blind)
#C5BEAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac856;
/* rgb */ color: rgb(186, 200, 86);
/* oklch */ color: oklch(79.9% 0.139 115.5);
Tailwind
colors: {
  custom: {
    50: '#d1d88a',
    500: '#bac856',
    950: '#000000',
  },
}
SCSS
$custom: #bac856;
$custom-light: #d1d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac856",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 67.368,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.7992,
    "c": 0.13938,
    "h": 115.5
  },
  "luminance": 0.5242
}

Semantic roles & 50–950 ramp

primary
#BAC856
secondary
#473F84
accent
#4DDA5F
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC856

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

Preview Lab → · Contrast checker → · Palette generator →

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