#BAC541#BAC541

#BAC541 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.1% C 0.153 H 114.0°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#BAC541
RGBrgb(186, 197, 65)
HSLhsl(65, 53%, 51%)
HSVhsv(65, 67%, 77%)
CMYKcmyk(5.6%, 0%, 67%, 22.7%)
CIE-LABlab(76.53, -20.52, 62.00)
CIE-LCHlch(76.53, 65.31, 108.31°)
OKLaboklab(79.06% -0.062 0.1394)
OKLCHoklch(79.06% 0.153 114)
XYZxyz(41.1712, 50.7540, 12.6277)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC541 #4C41C5
analogous
#C58E41 #BAC541 #78C541
triadic
#BAC541 #41BAC5 #C541BA
tetradic
#BAC541 #41C58E #4C41C5 #C54178
square
#BAC541 #41C58E #4C41C5 #C54178
split-complementary
#BAC541 #4178C5 #8E41C5
monochromatic
#656B21 #919A2F #BAC541 #CBD370 #DCE29F

Accessibility & contrast

On white

1.88
#BAC541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#BAC541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC541
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC541#FFFFFF#000000##000000
##BAC5411.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2E
Deuteranopia (green-blind)
#D3BE4A
Tritanopia (blue-blind)
#C6BAAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac541;
/* rgb */ color: rgb(186, 197, 65);
/* oklch */ color: oklch(79.1% 0.153 114.0);
Tailwind
colors: {
  custom: {
    50: '#d2d67d',
    500: '#bac541',
    950: '#000000',
  },
}
SCSS
$custom: #bac541;
$custom-light: #d2d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#bac541",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 65,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79061,
    "c": 0.15253,
    "h": 114
  },
  "luminance": 0.50753
}

Semantic roles & 50–950 ramp

primary
#BAC541
secondary
#3B3575
accent
#4BDD57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC541

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

Preview Lab → · Contrast checker → · Palette generator →

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