#BAC539#BAC539

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

Color values

HEX#BAC539
RGBrgb(186, 197, 57)
HSLhsl(65, 55%, 50%)
HSVhsv(65, 71%, 77%)
CMYKcmyk(5.6%, 0%, 71.1%, 22.7%)
CIE-LABlab(76.48, -20.95, 64.93)
CIE-LCHlch(76.48, 68.22, 107.89°)
OKLaboklab(79% -0.064 0.1442)
OKLCHoklch(79% 0.158 113.9)
XYZxyz(40.9557, 50.6678, 11.4925)
Luminance0.5067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC539 #4439C5
analogous
#C58A39 #BAC539 #74C539
triadic
#BAC539 #39BAC5 #C539BA
tetradic
#BAC539 #39C58A #4439C5 #C53974
square
#BAC539 #39C58A #4439C5 #C53974
split-complementary
#BAC539 #3974C5 #8A39C5
monochromatic
#60661E #8D962B #BAC539 #CBD368 #DBE197

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC539#FFFFFF#000000##000000
##BAC5391.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)
#D3BB20
Deuteranopia (green-blind)
#D3BE44
Tritanopia (blue-blind)
#C6B9AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac539;
/* rgb */ color: rgb(186, 197, 57);
/* oklch */ color: oklch(79.0% 0.158 113.9);
Tailwind
colors: {
  custom: {
    50: '#d2d679',
    500: '#bac539',
    950: '#000000',
  },
}
SCSS
$custom: #bac539;
$custom-light: #d2d679;
$custom-dark: #000000;
JSON
{
  "hex": "#bac539",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 57
  },
  "hsl": {
    "h": 64.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79003,
    "c": 0.15776,
    "h": 113.9
  },
  "luminance": 0.50667
}

Semantic roles & 50–950 ramp

primary
#BAC539
secondary
#373270
accent
#49DE55
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BAC539

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

Preview Lab → · Contrast checker → · Palette generator →

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