#BAC73A#BAC73A

#BAC73A 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#BAC73A
RGBrgb(186, 199, 58)
HSLhsl(66, 56%, 50%)
HSVhsv(66, 71%, 78%)
CMYKcmyk(6.5%, 0%, 70.9%, 22%)
CIE-LABlab(77.04, -21.89, 65.11)
CIE-LCHlch(77.04, 68.69, 108.58°)
OKLaboklab(79.45% -0.0665 0.1448)
OKLCHoklch(79.45% 0.159 114.7)
XYZxyz(41.4380, 51.5922, 11.7776)
Luminance0.5159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC73A #473AC7
analogous
#C78D3A #BAC73A #73C73A
triadic
#BAC73A #3ABAC7 #C73ABA
tetradic
#BAC73A #3AC78D #473AC7 #C73A73
square
#BAC73A #3AC78D #473AC7 #C73A73
split-complementary
#BAC73A #3A73C7 #8D3AC7
monochromatic
#62691E #8E982B #BAC73A #CBD56A #DBE299

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC73A#FFFFFF#000000##000000
##BAC73A1.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)
#D5BD21
Deuteranopia (green-blind)
#D5BF45
Tritanopia (blue-blind)
#C6BBAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac73a;
/* rgb */ color: rgb(186, 199, 58);
/* oklch */ color: oklch(79.5% 0.159 114.7);
Tailwind
colors: {
  custom: {
    50: '#d2d779',
    500: '#bac73a',
    950: '#000000',
  },
}
SCSS
$custom: #bac73a;
$custom-light: #d2d779;
$custom-dark: #000000;
JSON
{
  "hex": "#bac73a",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 58
  },
  "hsl": {
    "h": 65.532,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79453,
    "c": 0.15931,
    "h": 114.7
  },
  "luminance": 0.51591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAC73A

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

Preview Lab → · Contrast checker → · Palette generator →

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