#BAC53B#BAC53B

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

Color values

HEX#BAC53B
RGBrgb(186, 197, 59)
HSLhsl(65, 54%, 50%)
HSVhsv(65, 70%, 77%)
CMYKcmyk(5.6%, 0%, 70.1%, 22.7%)
CIE-LABlab(76.49, -20.85, 64.22)
CIE-LCHlch(76.49, 67.52, 107.99°)
OKLaboklab(79.02% -0.0635 0.1431)
OKLCHoklch(79.02% 0.157 113.9)
XYZxyz(41.0065, 50.6882, 11.7605)
Luminance0.5069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC53B #463BC5
analogous
#C58B3B #BAC53B #75C53B
triadic
#BAC53B #3BBAC5 #C53BBA
tetradic
#BAC53B #3BC58B #463BC5 #C53B75
square
#BAC53B #3BC58B #463BC5 #C53B75
split-complementary
#BAC53B #3B75C5 #8B3BC5
monochromatic
#61671F #8E962C #BAC53B #CBD36A #DBE199

Accessibility & contrast

On white

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

On black

11.14
#BAC53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC53B
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC53B#FFFFFF#000000##000000
##BAC53B1.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac53b;
/* rgb */ color: rgb(186, 197, 59);
/* oklch */ color: oklch(79.0% 0.157 113.9);
Tailwind
colors: {
  custom: {
    50: '#d2d67a',
    500: '#bac53b',
    950: '#000000',
  },
}
SCSS
$custom: #bac53b;
$custom-light: #d2d67a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac53b",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 59
  },
  "hsl": {
    "h": 64.783,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79017,
    "c": 0.15651,
    "h": 113.9
  },
  "luminance": 0.50687
}

Semantic roles & 50–950 ramp

primary
#BAC53B
secondary
#383371
accent
#4ADE56
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BAC53B

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

Preview Lab → · Contrast checker → · Palette generator →

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