#BAC933#BAC933

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

Color values

HEX#BAC933
RGBrgb(186, 201, 51)
HSLhsl(66, 60%, 49%)
HSVhsv(66, 75%, 79%)
CMYKcmyk(7.5%, 0%, 74.6%, 21.2%)
CIE-LABlab(77.55, -23.20, 67.98)
CIE-LCHlch(77.55, 71.83, 108.84°)
OKLaboklab(79.85% -0.0707 0.1497)
OKLCHoklch(79.85% 0.166 115.3)
XYZxyz(41.7351, 52.4521, 11.0570)
Luminance0.5245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC933 #4233C9
analogous
#C98D33 #BAC933 #6FC933
triadic
#BAC933 #33BAC9 #C933BA
tetradic
#BAC933 #33C98D #4233C9 #C9336F
square
#BAC933 #33C98D #4233C9 #C9336F
split-complementary
#BAC933 #336FC9 #8D33C9
monochromatic
#60671A #8D9827 #BAC933 #CBD762 #DBE493

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC933#FFFFFF#000000##000000
##BAC9331.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)
#D7BF0F
Deuteranopia (green-blind)
#D6C140
Tritanopia (blue-blind)
#C6BDAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac933;
/* rgb */ color: rgb(186, 201, 51);
/* oklch */ color: oklch(79.9% 0.166 115.3);
Tailwind
colors: {
  custom: {
    50: '#d2d976',
    500: '#bac933',
    950: '#000000',
  },
}
SCSS
$custom: #bac933;
$custom-light: #d2d976;
$custom-dark: #000000;
JSON
{
  "hex": "#bac933",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 51
  },
  "hsl": {
    "h": 66,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79853,
    "c": 0.16552,
    "h": 115.3
  },
  "luminance": 0.52451
}

Semantic roles & 50–950 ramp

primary
#BAC933
secondary
#352F71
accent
#45E355
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC933

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

Preview Lab → · Contrast checker → · Palette generator →

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