#BAC532#BAC532

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

Color values

HEX#BAC532
RGBrgb(186, 197, 50)
HSLhsl(64, 60%, 48%)
HSVhsv(64, 75%, 77%)
CMYKcmyk(5.6%, 0%, 74.6%, 22.7%)
CIE-LABlab(76.44, -21.28, 67.27)
CIE-LCHlch(76.44, 70.56, 107.56°)
OKLaboklab(78.96% -0.0655 0.148)
OKLCHoklch(78.96% 0.162 113.9)
XYZxyz(40.7929, 50.6027, 10.6354)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC532 #3D32C5
analogous
#C58632 #BAC532 #70C532
triadic
#BAC532 #32BAC5 #C532BA
tetradic
#BAC532 #32C586 #3D32C5 #C53270
square
#BAC532 #32C586 #3D32C5 #C53270
split-complementary
#BAC532 #3270C5 #8632C5
monochromatic
#5E6319 #8C9426 #BAC532 #CDD65E #DCE38F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC532#FFFFFF#000000##000000
##BAC5321.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)
#D4BB0F
Deuteranopia (green-blind)
#D3BE3F
Tritanopia (blue-blind)
#C7B9A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac532;
/* rgb */ color: rgb(186, 197, 50);
/* oklch */ color: oklch(79.0% 0.162 113.9);
Tailwind
colors: {
  custom: {
    50: '#d2d675',
    500: '#bac532',
    950: '#000000',
  },
}
SCSS
$custom: #bac532;
$custom-light: #d2d675;
$custom-dark: #000000;
JSON
{
  "hex": "#bac532",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 50
  },
  "hsl": {
    "h": 64.49,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78958,
    "c": 0.1618,
    "h": 113.9
  },
  "luminance": 0.50602
}

Semantic roles & 50–950 ramp

primary
#BAC532
secondary
#322D6E
accent
#45E351
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC532

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

Preview Lab → · Contrast checker → · Palette generator →

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