#BAC73C#BAC73C

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

Color values

HEX#BAC73C
RGBrgb(186, 199, 60)
HSLhsl(66, 55%, 51%)
HSVhsv(66, 70%, 78%)
CMYKcmyk(6.5%, 0%, 69.8%, 22%)
CIE-LABlab(77.05, -21.78, 64.40)
CIE-LCHlch(77.05, 67.99, 108.69°)
OKLaboklab(79.47% -0.066 0.1436)
OKLCHoklch(79.47% 0.158 114.7)
XYZxyz(41.4899, 51.6129, 12.0507)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC73C #493CC7
analogous
#C78F3C #BAC73C #74C73C
triadic
#BAC73C #3CBAC7 #C73CBA
tetradic
#BAC73C #3CC78F #493CC7 #C73C74
square
#BAC73C #3CC78F #493CC7 #C73C74
split-complementary
#BAC73C #3C74C7 #8F3CC7
monochromatic
#636A1E #8F9A2C #BAC73C #CBD56C #DCE29B

Accessibility & contrast

On white

1.85
#BAC73C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC73C#FFFFFF#000000##000000
##BAC73C1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac73c;
/* rgb */ color: rgb(186, 199, 60);
/* oklch */ color: oklch(79.5% 0.158 114.7);
Tailwind
colors: {
  custom: {
    50: '#d2d77a',
    500: '#bac73c',
    950: '#000000',
  },
}
SCSS
$custom: #bac73c;
$custom-light: #d2d77a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac73c",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 60
  },
  "hsl": {
    "h": 65.612,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79467,
    "c": 0.15805,
    "h": 114.7
  },
  "luminance": 0.51612
}

Semantic roles & 50–950 ramp

primary
#BAC73C
secondary
#393374
accent
#49DF57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC73C

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

Preview Lab → · Contrast checker → · Palette generator →

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