#BAC929#BAC929

#BAC929 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.8% C 0.170 H 115.2°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#BAC929
RGBrgb(186, 201, 41)
HSLhsl(66, 66%, 47%)
HSVhsv(66, 80%, 79%)
CMYKcmyk(7.5%, 0%, 79.6%, 21.2%)
CIE-LABlab(77.50, -23.60, 70.92)
CIE-LCHlch(77.50, 74.74, 108.40°)
OKLaboklab(79.8% -0.0726 0.1542)
OKLCHoklch(79.8% 0.17 115.2)
XYZxyz(41.5378, 52.3732, 10.0183)
Luminance0.5237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC929 #3829C9
analogous
#C98829 #BAC929 #6AC929
triadic
#BAC929 #29BAC9 #C929BA
tetradic
#BAC929 #29C988 #3829C9 #C9296A
square
#BAC929 #29C988 #3829C9 #C9296A
split-complementary
#BAC929 #296AC9 #8829C9
monochromatic
#5C6314 #8B961F #BAC929 #CFDC53 #DDE686

Accessibility & contrast

On white

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

On black

11.47
#BAC929 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC929
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC929#FFFFFF#000000##000000
##BAC9291.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D7C139
Tritanopia (blue-blind)
#C6BDAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac929;
/* rgb */ color: rgb(186, 201, 41);
/* oklch */ color: oklch(79.8% 0.170 115.2);
Tailwind
colors: {
  custom: {
    50: '#d3d972',
    500: '#bac929',
    950: '#000000',
  },
}
SCSS
$custom: #bac929;
$custom-light: #d3d972;
$custom-dark: #000000;
JSON
{
  "hex": "#bac929",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 41
  },
  "hsl": {
    "h": 65.625,
    "s": 66.116,
    "l": 47.451
  },
  "oklch": {
    "l": 0.798,
    "c": 0.1704,
    "h": 115.2
  },
  "luminance": 0.52372
}

Semantic roles & 50–950 ramp

primary
#BAC929
secondary
#2F286E
accent
#3FE94F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC929

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

Preview Lab → · Contrast checker → · Palette generator →

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