#BAC545#BAC545

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

Color values

HEX#BAC545
RGBrgb(186, 197, 69)
HSLhsl(65, 52%, 52%)
HSVhsv(65, 65%, 77%)
CMYKcmyk(5.6%, 0%, 65%, 22.7%)
CIE-LABlab(76.56, -20.28, 60.45)
CIE-LCHlch(76.56, 63.76, 108.54°)
OKLaboklab(79.09% -0.0609 0.1367)
OKLCHoklch(79.09% 0.15 114)
XYZxyz(41.2912, 50.8020, 13.2597)
Luminance0.5080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC545 #5045C5
analogous
#C59045 #BAC545 #7AC545
triadic
#BAC545 #45BAC5 #C545BA
tetradic
#BAC545 #45C590 #5045C5 #C5457A
square
#BAC545 #45C590 #5045C5 #C5457A
split-complementary
#BAC545 #457AC5 #9045C5
monochromatic
#676D22 #939C31 #BAC545 #CBD474 #DDE2A2

Accessibility & contrast

On white

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

On black

11.16
#BAC545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC545
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC545#FFFFFF#000000##000000
##BAC5451.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#D2BE4E
Tritanopia (blue-blind)
#C6BAAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac545;
/* rgb */ color: rgb(186, 197, 69);
/* oklch */ color: oklch(79.1% 0.150 114.0);
Tailwind
colors: {
  custom: {
    50: '#d2d67f',
    500: '#bac545',
    950: '#000000',
  },
}
SCSS
$custom: #bac545;
$custom-light: #d2d67f;
$custom-dark: #000000;
JSON
{
  "hex": "#bac545",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 65.156,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79094,
    "c": 0.14966,
    "h": 114
  },
  "luminance": 0.50801
}

Semantic roles & 50–950 ramp

primary
#BAC545
secondary
#3D3777
accent
#4CDC58
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC545

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

Preview Lab → · Contrast checker → · Palette generator →

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