#BAC529#BAC529

#BAC529 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 78.9% C 0.166 H 113.8°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#BAC529
RGBrgb(186, 197, 41)
HSLhsl(64, 66%, 47%)
HSVhsv(64, 79%, 77%)
CMYKcmyk(5.6%, 0%, 79.2%, 22.7%)
CIE-LABlab(76.39, -21.64, 69.94)
CIE-LCHlch(76.39, 73.21, 107.19°)
OKLaboklab(78.91% -0.0672 0.1521)
OKLCHoklch(78.91% 0.166 113.8)
XYZxyz(40.6175, 50.5326, 9.7115)
Luminance0.5053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC529 #3429C5
analogous
#C58229 #BAC529 #6CC529
triadic
#BAC529 #29BAC5 #C529BA
tetradic
#BAC529 #29C582 #3429C5 #C5296C
square
#BAC529 #29C582 #3429C5 #C5296C
split-complementary
#BAC529 #296CC5 #8229C5
monochromatic
#5A6014 #8A921E #BAC529 #D1DB51 #DEE583

Accessibility & contrast

On white

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

On black

11.11
#BAC529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC529
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC529#FFFFFF#000000##000000
##BAC5291.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D4BE38
Tritanopia (blue-blind)
#C7B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bac529;
/* rgb */ color: rgb(186, 197, 41);
/* oklch */ color: oklch(78.9% 0.166 113.8);
Tailwind
colors: {
  custom: {
    50: '#d3d671',
    500: '#bac529',
    950: '#000000',
  },
}
SCSS
$custom: #bac529;
$custom-light: #d3d671;
$custom-dark: #000000;
JSON
{
  "hex": "#bac529",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 41
  },
  "hsl": {
    "h": 64.231,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7891,
    "c": 0.16626,
    "h": 113.8
  },
  "luminance": 0.50532
}

Semantic roles & 50–950 ramp

primary
#BAC529
secondary
#2C286B
accent
#3FE84B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC529

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

Preview Lab → · Contrast checker → · Palette generator →

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