#BAC73D#BAC73D

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

Color values

HEX#BAC73D
RGBrgb(186, 199, 61)
HSLhsl(66, 55%, 51%)
HSVhsv(66, 69%, 78%)
CMYKcmyk(6.5%, 0%, 69.3%, 22%)
CIE-LABlab(77.06, -21.73, 64.04)
CIE-LCHlch(77.06, 67.63, 108.74°)
OKLaboklab(79.47% -0.0657 0.143)
OKLCHoklch(79.47% 0.157 114.7)
XYZxyz(41.5165, 51.6236, 12.1913)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC73D #4A3DC7
analogous
#C78F3D #BAC73D #75C73D
triadic
#BAC73D #3DBAC7 #C73DBA
tetradic
#BAC73D #3DC78F #4A3DC7 #C73D75
square
#BAC73D #3DC78F #4A3DC7 #C73D75
split-complementary
#BAC73D #3D75C7 #8F3DC7
monochromatic
#646B1F #909A2D #BAC73D #CBD56C #DCE29C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC73D#FFFFFF#000000##000000
##BAC73D1.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)
#D5BD26
Deuteranopia (green-blind)
#D4BF48
Tritanopia (blue-blind)
#C6BCAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac73d;
/* rgb */ color: rgb(186, 199, 61);
/* oklch */ color: oklch(79.5% 0.157 114.7);
Tailwind
colors: {
  custom: {
    50: '#d2d77b',
    500: '#bac73d',
    950: '#000000',
  },
}
SCSS
$custom: #bac73d;
$custom-light: #d2d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac73d",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 61
  },
  "hsl": {
    "h": 65.652,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79474,
    "c": 0.15741,
    "h": 114.7
  },
  "luminance": 0.51623
}

Semantic roles & 50–950 ramp

primary
#BAC73D
secondary
#3A3475
accent
#49DF57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC73D

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

Preview Lab → · Contrast checker → · Palette generator →

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