#BAC832#BAC832

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

Color values

HEX#BAC832
RGBrgb(186, 200, 50)
HSLhsl(66, 60%, 49%)
HSVhsv(66, 75%, 78%)
CMYKcmyk(7%, 0%, 75%, 21.6%)
CIE-LABlab(77.27, -22.76, 68.04)
CIE-LCHlch(77.27, 71.75, 108.49°)
OKLaboklab(79.62% -0.0696 0.1496)
OKLCHoklch(79.62% 0.165 114.9)
XYZxyz(41.4809, 51.9787, 10.8647)
Luminance0.5198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC832 #4032C8
analogous
#C88B32 #BAC832 #6FC832
triadic
#BAC832 #32BAC8 #C832BA
tetradic
#BAC832 #32C88B #4032C8 #C8326F
square
#BAC832 #32C88B #4032C8 #C8326F
split-complementary
#BAC832 #326FC8 #8B32C8
monochromatic
#5F661A #8C9726 #BAC832 #CCD760 #DCE391

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC832#FFFFFF#000000##000000
##BAC8321.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)
#D7BE0D
Deuteranopia (green-blind)
#D6C03F
Tritanopia (blue-blind)
#C6BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac832;
/* rgb */ color: rgb(186, 200, 50);
/* oklch */ color: oklch(79.6% 0.165 114.9);
Tailwind
colors: {
  custom: {
    50: '#d2d876',
    500: '#bac832',
    950: '#000000',
  },
}
SCSS
$custom: #bac832;
$custom-light: #d2d876;
$custom-dark: #000000;
JSON
{
  "hex": "#bac832",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 50
  },
  "hsl": {
    "h": 65.6,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.79624,
    "c": 0.16498,
    "h": 114.9
  },
  "luminance": 0.51978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAC832

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

Preview Lab → · Contrast checker → · Palette generator →

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