#BAC548#BAC548

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

Color values

HEX#BAC548
RGBrgb(186, 197, 72)
HSLhsl(65, 52%, 53%)
HSVhsv(65, 63%, 77%)
CMYKcmyk(5.6%, 0%, 63.5%, 22.7%)
CIE-LABlab(76.58, -20.09, 59.25)
CIE-LCHlch(76.58, 62.56, 108.73°)
OKLaboklab(79.12% -0.0601 0.1346)
OKLCHoklch(79.12% 0.147 114.1)
XYZxyz(41.3867, 50.8402, 13.7626)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC548 #5348C5
analogous
#C59148 #BAC548 #7BC548
triadic
#BAC548 #48BAC5 #C548BA
tetradic
#BAC548 #48C591 #5348C5 #C5487B
square
#BAC548 #48C591 #5348C5 #C5487B
split-complementary
#BAC548 #487BC5 #9148C5
monochromatic
#696F23 #949E32 #BAC548 #CCD476 #DDE2A5

Accessibility & contrast

On white

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

On black

11.17
#BAC548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC548
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC548#FFFFFF#000000##000000
##BAC5481.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac548;
/* rgb */ color: rgb(186, 197, 72);
/* oklch */ color: oklch(79.1% 0.147 114.1);
Tailwind
colors: {
  custom: {
    50: '#d2d681',
    500: '#bac548',
    950: '#000000',
  },
}
SCSS
$custom: #bac548;
$custom-light: #d2d681;
$custom-dark: #000000;
JSON
{
  "hex": "#bac548",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 65.28,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7912,
    "c": 0.14742,
    "h": 114.1
  },
  "luminance": 0.50839
}

Semantic roles & 50–950 ramp

primary
#BAC548
secondary
#3E3879
accent
#4CDB59
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC548

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

Preview Lab → · Contrast checker → · Palette generator →

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