#BAC919#BAC919

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

Color values

HEX#BAC919
RGBrgb(186, 201, 25)
HSLhsl(65, 78%, 44%)
HSVhsv(65, 88%, 79%)
CMYKcmyk(7.5%, 0%, 87.6%, 21.2%)
CIE-LABlab(77.45, -24.05, 74.54)
CIE-LCHlch(77.45, 78.32, 107.88°)
OKLaboklab(79.74% -0.0748 0.1595)
OKLCHoklch(79.74% 0.176 115.1)
XYZxyz(41.3131, 52.2833, 8.8349)
Luminance0.5228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC919 #2819C9
analogous
#C98019 #BAC919 #62C919
triadic
#BAC919 #19BAC9 #C919BA
tetradic
#BAC919 #19C980 #2819C9 #C91962
square
#BAC919 #19C980 #2819C9 #C91962
split-complementary
#BAC919 #1962C9 #8019C9
monochromatic
#555C0B #889312 #BAC919 #D8E639 #E2ED6F

Accessibility & contrast

On white

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

On black

11.46
#BAC919 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC919
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC919#FFFFFF#000000##000000
##BAC9191.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D7C12F
Tritanopia (blue-blind)
#C7BDAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac919;
/* rgb */ color: rgb(186, 201, 25);
/* oklch */ color: oklch(79.7% 0.176 115.1);
Tailwind
colors: {
  custom: {
    50: '#d3d96c',
    500: '#bac919',
    950: '#000000',
  },
}
SCSS
$custom: #bac919;
$custom-light: #d3d96c;
$custom-dark: #000000;
JSON
{
  "hex": "#bac919",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 25
  },
  "hsl": {
    "h": 65.114,
    "s": 77.876,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7974,
    "c": 0.17612,
    "h": 115.1
  },
  "luminance": 0.52283
}

Semantic roles & 50–950 ramp

primary
#BAC919
secondary
#251F68
accent
#33F444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #BAC919

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

Preview Lab → · Contrast checker → · Palette generator →

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