#BAC33A#BAC33A

#BAC33A is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.6% C 0.155 H 113.2°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#BAC33A
RGBrgb(186, 195, 58)
HSLhsl(64, 54%, 50%)
HSVhsv(64, 70%, 76%)
CMYKcmyk(4.6%, 0%, 70.3%, 23.5%)
CIE-LABlab(75.93, -19.91, 64.03)
CIE-LCHlch(75.93, 67.06, 107.28°)
OKLaboklab(78.57% -0.061 0.1425)
OKLCHoklch(78.57% 0.155 113.2)
XYZxyz(40.5297, 49.7757, 11.4748)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC33A #433AC3
analogous
#C3883A #BAC33A #75C33A
triadic
#BAC33A #3ABAC3 #C33ABA
tetradic
#BAC33A #3AC388 #433AC3 #C33A75
square
#BAC33A #3AC388 #433AC3 #C33A75
split-complementary
#BAC33A #3A75C3 #883AC3
monochromatic
#60651E #8D942C #BAC33A #CBD268 #DBE097

Accessibility & contrast

On white

1.92
#BAC33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#BAC33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC33A
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC33A#FFFFFF#000000##000000
##BAC33A1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA22
Deuteranopia (green-blind)
#D1BD44
Tritanopia (blue-blind)
#C6B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac33a;
/* rgb */ color: rgb(186, 195, 58);
/* oklch */ color: oklch(78.6% 0.155 113.2);
Tailwind
colors: {
  custom: {
    50: '#d2d579',
    500: '#bac33a',
    950: '#000000',
  },
}
SCSS
$custom: #bac33a;
$custom-light: #d2d579;
$custom-dark: #000000;
JSON
{
  "hex": "#bac33a",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 58
  },
  "hsl": {
    "h": 63.942,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78567,
    "c": 0.155,
    "h": 113.2
  },
  "luminance": 0.49775
}

Semantic roles & 50–950 ramp

primary
#BAC33A
secondary
#918DCC
accent
#4ADE54
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#15140A
muted
#83837C

Preview Lab

Preview with #BAC33A

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

Preview Lab → · Contrast checker → · Palette generator →

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