#BAC857#BAC857

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

Color values

HEX#BAC857
RGBrgb(186, 200, 87)
HSLhsl(67, 51%, 56%)
HSVhsv(67, 57%, 78%)
CMYKcmyk(7%, 0%, 56.5%, 21.6%)
CIE-LABlab(77.54, -20.48, 53.81)
CIE-LCHlch(77.54, 57.58, 110.83°)
OKLaboklab(79.93% -0.0596 0.125)
OKLCHoklch(79.93% 0.138 115.5)
XYZxyz(42.6251, 52.4364, 16.8907)
Luminance0.5244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC857 #6557C8
analogous
#C89E57 #BAC857 #82C857
triadic
#BAC857 #57BAC8 #C857BA
tetradic
#BAC857 #57C89E #6557C8 #C85782
square
#BAC857 #57C89E #6557C8 #C85782
split-complementary
#BAC857 #5782C8 #9E57C8
monochromatic
#727C29 #9CAA38 #BAC857 #CDD785 #E0E6B3

Accessibility & contrast

On white

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

On black

11.49
#BAC857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC857
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC857#FFFFFF#000000##000000
##BAC8571.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4B
Deuteranopia (green-blind)
#D4C15E
Tritanopia (blue-blind)
#C4BEAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac857;
/* rgb */ color: rgb(186, 200, 87);
/* oklch */ color: oklch(79.9% 0.138 115.5);
Tailwind
colors: {
  custom: {
    50: '#d1d88a',
    500: '#bac857',
    950: '#000000',
  },
}
SCSS
$custom: #bac857;
$custom-light: #d1d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac857",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 67.434,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79931,
    "c": 0.13849,
    "h": 115.5
  },
  "luminance": 0.52436
}

Semantic roles & 50–950 ramp

primary
#BAC857
secondary
#483F84
accent
#4EDA5F
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC857

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

Preview Lab → · Contrast checker → · Palette generator →

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