#BAC536#BAC536

#BAC536 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.0% C 0.160 H 113.9°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#BAC536
RGBrgb(186, 197, 54)
HSLhsl(65, 57%, 49%)
HSVhsv(65, 73%, 77%)
CMYKcmyk(5.6%, 0%, 72.6%, 22.7%)
CIE-LABlab(76.46, -21.10, 65.96)
CIE-LCHlch(76.46, 69.25, 107.74°)
OKLaboklab(78.98% -0.0646 0.1459)
OKLCHoklch(78.98% 0.16 113.9)
XYZxyz(40.8830, 50.6388, 11.1099)
Luminance0.5064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC536 #4136C5
analogous
#C58836 #BAC536 #73C536
triadic
#BAC536 #36BAC5 #C536BA
tetradic
#BAC536 #36C588 #4136C5 #C53673
square
#BAC536 #36C588 #4136C5 #C53673
split-complementary
#BAC536 #3673C5 #8836C5
monochromatic
#5F651C #8D9529 #BAC536 #CCD464 #DCE294

Accessibility & contrast

On white

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

On black

11.13
#BAC536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC536
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC536#FFFFFF#000000##000000
##BAC5361.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB1A
Deuteranopia (green-blind)
#D3BE42
Tritanopia (blue-blind)
#C6B9AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac536;
/* rgb */ color: rgb(186, 197, 54);
/* oklch */ color: oklch(79.0% 0.160 113.9);
Tailwind
colors: {
  custom: {
    50: '#d2d677',
    500: '#bac536',
    950: '#000000',
  },
}
SCSS
$custom: #bac536;
$custom-light: #d2d677;
$custom-dark: #000000;
JSON
{
  "hex": "#bac536",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 54
  },
  "hsl": {
    "h": 64.615,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78983,
    "c": 0.15955,
    "h": 113.9
  },
  "luminance": 0.50638
}

Semantic roles & 50–950 ramp

primary
#BAC536
secondary
#35306F
accent
#48E053
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC536

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

Preview Lab → · Contrast checker → · Palette generator →

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