#BAC732#BAC732

#BAC732 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.4% C 0.164 H 114.6°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#BAC732
RGBrgb(186, 199, 50)
HSLhsl(65, 60%, 49%)
HSVhsv(65, 75%, 78%)
CMYKcmyk(6.5%, 0%, 74.9%, 22%)
CIE-LABlab(76.99, -22.27, 67.78)
CIE-LCHlch(76.99, 71.35, 108.18°)
OKLaboklab(79.4% -0.0682 0.149)
OKLCHoklch(79.4% 0.164 114.6)
XYZxyz(41.2501, 51.5170, 10.7878)
Luminance0.5152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC732 #3F32C7
analogous
#C78A32 #BAC732 #70C732
triadic
#BAC732 #32BAC7 #C732BA
tetradic
#BAC732 #32C78A #3F32C7 #C73270
square
#BAC732 #32C78A #3F32C7 #C73270
split-complementary
#BAC732 #3270C7 #8A32C7
monochromatic
#5F6519 #8C9626 #BAC732 #CCD75F #DCE390

Accessibility & contrast

On white

1.86
#BAC732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#BAC732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC732
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC732#FFFFFF#000000##000000
##BAC7321.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD0D
Deuteranopia (green-blind)
#D5BF3F
Tritanopia (blue-blind)
#C6BBAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac732;
/* rgb */ color: rgb(186, 199, 50);
/* oklch */ color: oklch(79.4% 0.164 114.6);
Tailwind
colors: {
  custom: {
    50: '#d2d775',
    500: '#bac732',
    950: '#000000',
  },
}
SCSS
$custom: #bac732;
$custom-light: #d2d775;
$custom-dark: #000000;
JSON
{
  "hex": "#bac732",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 50
  },
  "hsl": {
    "h": 65.235,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79402,
    "c": 0.16392,
    "h": 114.6
  },
  "luminance": 0.51516
}

Semantic roles & 50–950 ramp

primary
#BAC732
secondary
#332E70
accent
#45E353
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC732

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

Preview Lab → · Contrast checker → · Palette generator →

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