#BAC833#BAC833

#BAC833 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.6% C 0.164 H 115.0°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#BAC833
RGBrgb(186, 200, 51)
HSLhsl(66, 59%, 49%)
HSVhsv(66, 75%, 78%)
CMYKcmyk(7%, 0%, 74.5%, 21.6%)
CIE-LABlab(77.27, -22.71, 67.73)
CIE-LCHlch(77.27, 71.43, 108.54°)
OKLaboklab(79.63% -0.0694 0.1491)
OKLCHoklch(79.63% 0.164 115)
XYZxyz(41.5027, 51.9874, 10.9796)
Luminance0.5199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC833 #4133C8
analogous
#C88C33 #BAC833 #6FC833
triadic
#BAC833 #33BAC8 #C833BA
tetradic
#BAC833 #33C88C #4133C8 #C8336F
square
#BAC833 #33C88C #4133C8 #C8336F
split-complementary
#BAC833 #336FC8 #8C33C8
monochromatic
#5F661A #8D9727 #BAC833 #CCD761 #DCE392

Accessibility & contrast

On white

1.84
#BAC833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#BAC833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC833
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC833#FFFFFF#000000##000000
##BAC8331.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE10
Deuteranopia (green-blind)
#D6C040
Tritanopia (blue-blind)
#C6BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac833;
/* rgb */ color: rgb(186, 200, 51);
/* oklch */ color: oklch(79.6% 0.164 115.0);
Tailwind
colors: {
  custom: {
    50: '#d2d876',
    500: '#bac833',
    950: '#000000',
  },
}
SCSS
$custom: #bac833;
$custom-light: #d2d876;
$custom-dark: #000000;
JSON
{
  "hex": "#bac833",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 51
  },
  "hsl": {
    "h": 65.638,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7963,
    "c": 0.16445,
    "h": 115
  },
  "luminance": 0.51987
}

Semantic roles & 50–950 ramp

primary
#BAC833
secondary
#352F71
accent
#45E354
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC833

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

Preview Lab → · Contrast checker → · Palette generator →

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