#BAC932#BAC932

#BAC932 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.8% C 0.166 H 115.3°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#BAC932
RGBrgb(186, 201, 50)
HSLhsl(66, 60%, 49%)
HSVhsv(66, 75%, 79%)
CMYKcmyk(7.5%, 0%, 75.1%, 21.2%)
CIE-LABlab(77.55, -23.24, 68.30)
CIE-LCHlch(77.55, 72.15, 108.79°)
OKLaboklab(79.85% -0.0709 0.1501)
OKLCHoklch(79.85% 0.166 115.3)
XYZxyz(41.7132, 52.4434, 10.9422)
Luminance0.5244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC932 #4132C9
analogous
#C98D32 #BAC932 #6FC932
triadic
#BAC932 #32BAC9 #C932BA
tetradic
#BAC932 #32C98D #4132C9 #C9326F
square
#BAC932 #32C98D #4132C9 #C9326F
split-complementary
#BAC932 #326FC9 #8D32C9
monochromatic
#5F671A #8D9826 #BAC932 #CCD861 #DCE492

Accessibility & contrast

On white

1.83
#BAC932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#BAC932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC932
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC932#FFFFFF#000000##000000
##BAC9321.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF0C
Deuteranopia (green-blind)
#D6C13F
Tritanopia (blue-blind)
#C6BDAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac932;
/* rgb */ color: rgb(186, 201, 50);
/* oklch */ color: oklch(79.8% 0.166 115.3);
Tailwind
colors: {
  custom: {
    50: '#d2d976',
    500: '#bac932',
    950: '#000000',
  },
}
SCSS
$custom: #bac932;
$custom-light: #d2d976;
$custom-dark: #000000;
JSON
{
  "hex": "#bac932",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 50
  },
  "hsl": {
    "h": 65.96,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79847,
    "c": 0.16605,
    "h": 115.3
  },
  "luminance": 0.52443
}

Semantic roles & 50–950 ramp

primary
#BAC932
secondary
#352E71
accent
#44E354
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC932

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

Preview Lab → · Contrast checker → · Palette generator →

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