#BAC73B#BAC73B

#BAC73B is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.5% C 0.159 H 114.7°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#BAC73B
RGBrgb(186, 199, 59)
HSLhsl(66, 56%, 51%)
HSVhsv(66, 70%, 78%)
CMYKcmyk(6.5%, 0%, 70.4%, 22%)
CIE-LABlab(77.04, -21.84, 64.76)
CIE-LCHlch(77.04, 68.34, 108.63°)
OKLaboklab(79.46% -0.0662 0.1442)
OKLCHoklch(79.46% 0.159 114.7)
XYZxyz(41.4637, 51.6025, 11.9128)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC73B #483BC7
analogous
#C78E3B #BAC73B #74C73B
triadic
#BAC73B #3BBAC7 #C73BBA
tetradic
#BAC73B #3BC78E #483BC7 #C73B74
square
#BAC73B #3BC78E #483BC7 #C73B74
split-complementary
#BAC73B #3B74C7 #8E3BC7
monochromatic
#62691E #8F992C #BAC73B #CBD56B #DCE29A

Accessibility & contrast

On white

1.86
#BAC73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#BAC73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC73B
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC73B#FFFFFF#000000##000000
##BAC73B1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD23
Deuteranopia (green-blind)
#D5BF46
Tritanopia (blue-blind)
#C6BBAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac73b;
/* rgb */ color: rgb(186, 199, 59);
/* oklch */ color: oklch(79.5% 0.159 114.7);
Tailwind
colors: {
  custom: {
    50: '#d2d77a',
    500: '#bac73b',
    950: '#000000',
  },
}
SCSS
$custom: #bac73b;
$custom-light: #d2d77a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac73b",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 59
  },
  "hsl": {
    "h": 65.571,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7946,
    "c": 0.15868,
    "h": 114.7
  },
  "luminance": 0.51602
}

Semantic roles & 50–950 ramp

primary
#BAC73B
secondary
#393373
accent
#49DF57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BAC73B

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

Preview Lab → · Contrast checker → · Palette generator →

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