#BAC757#BAC757

#BAC757 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.7% C 0.137 H 115.1°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#BAC757
RGBrgb(186, 199, 87)
HSLhsl(67, 50%, 56%)
HSVhsv(67, 56%, 78%)
CMYKcmyk(6.5%, 0%, 56.3%, 22%)
CIE-LABlab(77.27, -19.98, 53.50)
CIE-LCHlch(77.27, 57.11, 110.48°)
OKLaboklab(79.71% -0.0582 0.1243)
OKLCHoklch(79.71% 0.137 115.1)
XYZxyz(42.3942, 51.9747, 16.8138)
Luminance0.5197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC757 #6457C7
analogous
#C79C57 #BAC757 #82C757
triadic
#BAC757 #57BAC7 #C757BA
tetradic
#BAC757 #57C79C #6457C7 #C75782
square
#BAC757 #57C79C #6457C7 #C75782
split-complementary
#BAC757 #5782C7 #9C57C7
monochromatic
#717B29 #9CA938 #BAC757 #CDD685 #E0E6B3

Accessibility & contrast

On white

1.84
#BAC757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#BAC757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC757
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC757#FFFFFF#000000##000000
##BAC7571.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4B
Deuteranopia (green-blind)
#D3C05E
Tritanopia (blue-blind)
#C5BDAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac757;
/* rgb */ color: rgb(186, 199, 87);
/* oklch */ color: oklch(79.7% 0.137 115.1);
Tailwind
colors: {
  custom: {
    50: '#d1d78a',
    500: '#bac757',
    950: '#000000',
  },
}
SCSS
$custom: #bac757;
$custom-light: #d1d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac757",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 66.964,
    "s": 50,
    "l": 56.078
  },
  "oklch": {
    "l": 0.7971,
    "c": 0.1373,
    "h": 115.1
  },
  "luminance": 0.51974
}

Semantic roles & 50–950 ramp

primary
#BAC757
secondary
#473F83
accent
#4EDA5E
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC757

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

Preview Lab → · Contrast checker → · Palette generator →

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