#BAC533#BAC533

#BAC533 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.0% C 0.161 H 113.9°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#BAC533
RGBrgb(186, 197, 51)
HSLhsl(65, 59%, 49%)
HSVhsv(65, 74%, 77%)
CMYKcmyk(5.6%, 0%, 74.1%, 22.7%)
CIE-LABlab(76.44, -21.24, 66.95)
CIE-LCHlch(76.44, 70.24, 107.60°)
OKLaboklab(78.96% -0.0653 0.1475)
OKLCHoklch(78.96% 0.161 113.9)
XYZxyz(40.8147, 50.6115, 10.7503)
Luminance0.5061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC533 #3E33C5
analogous
#C58733 #BAC533 #71C533
triadic
#BAC533 #33BAC5 #C533BA
tetradic
#BAC533 #33C587 #3E33C5 #C53371
square
#BAC533 #33C587 #3E33C5 #C53371
split-complementary
#BAC533 #3371C5 #8733C5
monochromatic
#5E641A #8C9426 #BAC533 #CDD65F #DCE290

Accessibility & contrast

On white

1.89
#BAC533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#BAC533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC533
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC533#FFFFFF#000000##000000
##BAC5331.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB12
Deuteranopia (green-blind)
#D3BE3F
Tritanopia (blue-blind)
#C6B9A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac533;
/* rgb */ color: rgb(186, 197, 51);
/* oklch */ color: oklch(79.0% 0.161 113.9);
Tailwind
colors: {
  custom: {
    50: '#d2d676',
    500: '#bac533',
    950: '#000000',
  },
}
SCSS
$custom: #bac533;
$custom-light: #d2d676;
$custom-dark: #000000;
JSON
{
  "hex": "#bac533",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 51
  },
  "hsl": {
    "h": 64.521,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.78964,
    "c": 0.16126,
    "h": 113.9
  },
  "luminance": 0.50611
}

Semantic roles & 50–950 ramp

primary
#BAC533
secondary
#332E6E
accent
#46E252
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC533

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

Preview Lab → · Contrast checker → · Palette generator →

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