#BAC336#BAC336

#BAC336 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.5% C 0.157 H 113.2°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#BAC336
RGBrgb(186, 195, 54)
HSLhsl(64, 57%, 49%)
HSVhsv(64, 72%, 76%)
CMYKcmyk(4.6%, 0%, 72.3%, 23.5%)
CIE-LABlab(75.91, -20.11, 65.43)
CIE-LCHlch(75.91, 68.45, 107.09°)
OKLaboklab(78.54% -0.0619 0.1448)
OKLCHoklch(78.54% 0.157 113.2)
XYZxyz(40.4319, 49.7365, 10.9596)
Luminance0.4974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC336 #3F36C3
analogous
#C38636 #BAC336 #74C336
triadic
#BAC336 #36BAC3 #C336BA
tetradic
#BAC336 #36C386 #3F36C3 #C33674
square
#BAC336 #36C386 #3F36C3 #C33674
split-complementary
#BAC336 #3674C3 #8636C3
monochromatic
#5F631B #8C9329 #BAC336 #CCD463 #DCE192

Accessibility & contrast

On white

1.92
#BAC336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#BAC336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC336
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC336#FFFFFF#000000##000000
##BAC3361.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1B
Deuteranopia (green-blind)
#D2BD41
Tritanopia (blue-blind)
#C7B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac336;
/* rgb */ color: rgb(186, 195, 54);
/* oklch */ color: oklch(78.5% 0.157 113.2);
Tailwind
colors: {
  custom: {
    50: '#d2d577',
    500: '#bac336',
    950: '#000000',
  },
}
SCSS
$custom: #bac336;
$custom-light: #d2d577;
$custom-dark: #000000;
JSON
{
  "hex": "#bac336",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 54
  },
  "hsl": {
    "h": 63.83,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7854,
    "c": 0.15744,
    "h": 113.2
  },
  "luminance": 0.49736
}

Semantic roles & 50–950 ramp

primary
#BAC336
secondary
#8D89CC
accent
#48E052
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#151409
muted
#83837B

Preview Lab

Preview with #BAC336

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

Preview Lab → · Contrast checker → · Palette generator →

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