#BAC91B#BAC91B

#BAC91B 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#BAC91B
RGBrgb(186, 201, 27)
HSLhsl(65, 76%, 45%)
HSVhsv(65, 87%, 79%)
CMYKcmyk(7.5%, 0%, 86.6%, 21.2%)
CIE-LABlab(77.46, -24.01, 74.16)
CIE-LCHlch(77.46, 77.95, 107.94°)
OKLaboklab(79.75% -0.0746 0.1589)
OKLCHoklch(79.75% 0.176 115.1)
XYZxyz(41.3355, 52.2923, 8.9526)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC91B #2A1BC9
analogous
#C9811B #BAC91B #63C91B
triadic
#BAC91B #1BBAC9 #C91BBA
tetradic
#BAC91B #1BC981 #2A1BC9 #C91B63
square
#BAC91B #1BC981 #2A1BC9 #C91B63
split-complementary
#BAC91B #1B63C9 #811BC9
monochromatic
#565D0D #889314 #BAC91B #D6E53C #E2EC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC91B#FFFFFF#000000##000000
##BAC91B1.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)
#D7C130
Tritanopia (blue-blind)
#C7BDAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac91b;
/* rgb */ color: rgb(186, 201, 27);
/* oklch */ color: oklch(79.7% 0.176 115.1);
Tailwind
colors: {
  custom: {
    50: '#d3d96d',
    500: '#bac91b',
    950: '#000000',
  },
}
SCSS
$custom: #bac91b;
$custom-light: #d3d96d;
$custom-dark: #000000;
JSON
{
  "hex": "#bac91b",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 27
  },
  "hsl": {
    "h": 65.172,
    "s": 76.316,
    "l": 44.706
  },
  "oklch": {
    "l": 0.79746,
    "c": 0.17555,
    "h": 115.1
  },
  "luminance": 0.52292
}

Semantic roles & 50–950 ramp

primary
#BAC91B
secondary
#262068
accent
#35F345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #BAC91B

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

Preview Lab → · Contrast checker → · Palette generator →

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