#BAC332#BAC332

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

Color values

HEX#BAC332
RGBrgb(186, 195, 50)
HSLhsl(64, 59%, 48%)
HSVhsv(64, 74%, 76%)
CMYKcmyk(4.6%, 0%, 74.4%, 23.5%)
CIE-LABlab(75.89, -20.30, 66.75)
CIE-LCHlch(75.89, 69.77, 106.91°)
OKLaboklab(78.52% -0.0628 0.1469)
OKLCHoklch(78.52% 0.16 113.1)
XYZxyz(40.3418, 49.7005, 10.4850)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC332 #3B32C3
analogous
#C38332 #BAC332 #71C332
triadic
#BAC332 #32BAC3 #C332BA
tetradic
#BAC332 #32C383 #3B32C3 #C33271
square
#BAC332 #32C383 #3B32C3 #C33271
split-complementary
#BAC332 #3271C3 #8332C3
monochromatic
#5D6219 #8C9226 #BAC332 #CED55D #DDE28E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC332#FFFFFF#000000##000000
##BAC3321.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)
#D2BA10
Deuteranopia (green-blind)
#D2BD3E
Tritanopia (blue-blind)
#C7B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac332;
/* rgb */ color: rgb(186, 195, 50);
/* oklch */ color: oklch(78.5% 0.160 113.1);
Tailwind
colors: {
  custom: {
    50: '#d2d575',
    500: '#bac332',
    950: '#000000',
  },
}
SCSS
$custom: #bac332;
$custom-light: #d2d575;
$custom-dark: #000000;
JSON
{
  "hex": "#bac332",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 50
  },
  "hsl": {
    "h": 63.724,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78515,
    "c": 0.15971,
    "h": 113.1
  },
  "luminance": 0.497
}

Semantic roles & 50–950 ramp

primary
#BAC332
secondary
#8985CC
accent
#45E24F
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#151409
muted
#83837B

Preview Lab

Preview with #BAC332

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

Preview Lab → · Contrast checker → · Palette generator →

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