#BAC333#BAC333

#BAC333 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.5% C 0.159 H 113.1°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#BAC333
RGBrgb(186, 195, 51)
HSLhsl(64, 59%, 48%)
HSVhsv(64, 74%, 76%)
CMYKcmyk(4.6%, 0%, 73.8%, 23.5%)
CIE-LABlab(75.89, -20.25, 66.43)
CIE-LCHlch(75.89, 69.45, 106.96°)
OKLaboklab(78.52% -0.0625 0.1464)
OKLCHoklch(78.52% 0.159 113.1)
XYZxyz(40.3636, 49.7092, 10.5999)
Luminance0.4971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC333 #3C33C3
analogous
#C38433 #BAC333 #72C333
triadic
#BAC333 #33BAC3 #C333BA
tetradic
#BAC333 #33C384 #3C33C3 #C33372
square
#BAC333 #33C384 #3C33C3 #C33372
split-complementary
#BAC333 #3372C3 #8433C3
monochromatic
#5D621A #8C9226 #BAC333 #CED55E #DCE28F

Accessibility & contrast

On white

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

On black

10.94
#BAC333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC333
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC333#FFFFFF#000000##000000
##BAC3331.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA13
Deuteranopia (green-blind)
#D2BD3F
Tritanopia (blue-blind)
#C7B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac333;
/* rgb */ color: rgb(186, 195, 51);
/* oklch */ color: oklch(78.5% 0.159 113.1);
Tailwind
colors: {
  custom: {
    50: '#d2d576',
    500: '#bac333',
    950: '#000000',
  },
}
SCSS
$custom: #bac333;
$custom-light: #d2d576;
$custom-dark: #000000;
JSON
{
  "hex": "#bac333",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 51
  },
  "hsl": {
    "h": 63.75,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78521,
    "c": 0.15916,
    "h": 113.1
  },
  "luminance": 0.49708
}

Semantic roles & 50–950 ramp

primary
#BAC333
secondary
#8A86CC
accent
#46E250
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#151409
muted
#83837B

Preview Lab

Preview with #BAC333

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

Preview Lab → · Contrast checker → · Palette generator →

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