#BAC537#BAC537

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

Color values

HEX#BAC537
RGBrgb(186, 197, 55)
HSLhsl(65, 56%, 49%)
HSVhsv(65, 72%, 77%)
CMYKcmyk(5.6%, 0%, 72.1%, 22.7%)
CIE-LABlab(76.47, -21.05, 65.62)
CIE-LCHlch(76.47, 68.91, 107.79°)
OKLaboklab(78.99% -0.0644 0.1453)
OKLCHoklch(78.99% 0.159 113.9)
XYZxyz(40.9067, 50.6483, 11.2349)
Luminance0.5065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC537 #4237C5
analogous
#C58937 #BAC537 #73C537
triadic
#BAC537 #37BAC5 #C537BA
tetradic
#BAC537 #37C589 #4237C5 #C53773
square
#BAC537 #37C589 #4237C5 #C53773
split-complementary
#BAC537 #3773C5 #8937C5
monochromatic
#60651C #8D952A #BAC537 #CBD465 #DBE195

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC537#FFFFFF#000000##000000
##BAC5371.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)
#D3BB1C
Deuteranopia (green-blind)
#D3BE42
Tritanopia (blue-blind)
#C6B9AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac537;
/* rgb */ color: rgb(186, 197, 55);
/* oklch */ color: oklch(79.0% 0.159 113.9);
Tailwind
colors: {
  custom: {
    50: '#d2d678',
    500: '#bac537',
    950: '#000000',
  },
}
SCSS
$custom: #bac537;
$custom-light: #d2d678;
$custom-dark: #000000;
JSON
{
  "hex": "#bac537",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 55
  },
  "hsl": {
    "h": 64.648,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78989,
    "c": 0.15897,
    "h": 113.9
  },
  "luminance": 0.50647
}

Semantic roles & 50–950 ramp

primary
#BAC537
secondary
#353170
accent
#48E054
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC537

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

Preview Lab → · Contrast checker → · Palette generator →

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