#BAC33B#BAC33B

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

Color values

HEX#BAC33B
RGBrgb(186, 195, 59)
HSLhsl(64, 54%, 50%)
HSVhsv(64, 70%, 76%)
CMYKcmyk(4.6%, 0%, 69.7%, 23.5%)
CIE-LABlab(75.94, -19.86, 63.67)
CIE-LCHlch(75.94, 66.70, 107.32°)
OKLaboklab(78.57% -0.0607 0.1419)
OKLCHoklch(78.57% 0.154 113.2)
XYZxyz(40.5554, 49.7859, 11.6101)
Luminance0.4979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC33B #443BC3
analogous
#C3883B #BAC33B #76C33B
triadic
#BAC33B #3BBAC3 #C33BBA
tetradic
#BAC33B #3BC388 #443BC3 #C33B76
square
#BAC33B #3BC388 #443BC3 #C33B76
split-complementary
#BAC33B #3B76C3 #883BC3
monochromatic
#60651F #8D942D #BAC33B #CBD269 #DBE098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC33B#FFFFFF#000000##000000
##BAC33B1.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)
#D1BA24
Deuteranopia (green-blind)
#D1BD45
Tritanopia (blue-blind)
#C6B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac33b;
/* rgb */ color: rgb(186, 195, 59);
/* oklch */ color: oklch(78.6% 0.154 113.2);
Tailwind
colors: {
  custom: {
    50: '#d2d57a',
    500: '#bac33b',
    950: '#000000',
  },
}
SCSS
$custom: #bac33b;
$custom-light: #d2d57a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac33b",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 63.971,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.78574,
    "c": 0.15436,
    "h": 113.2
  },
  "luminance": 0.49785
}

Semantic roles & 50–950 ramp

primary
#BAC33B
secondary
#928ECC
accent
#4BDD55
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#14140A
muted
#83837C

Preview Lab

Preview with #BAC33B

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

Preview Lab → · Contrast checker → · Palette generator →

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