#BAC53A#BAC53A

#BAC53A 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#BAC53A
RGBrgb(186, 197, 58)
HSLhsl(65, 55%, 50%)
HSVhsv(65, 71%, 77%)
CMYKcmyk(5.6%, 0%, 70.6%, 22.7%)
CIE-LABlab(76.48, -20.90, 64.57)
CIE-LCHlch(76.48, 67.87, 107.94°)
OKLaboklab(79.01% -0.0637 0.1436)
OKLCHoklch(79.01% 0.157 113.9)
XYZxyz(40.9808, 50.6779, 11.6252)
Luminance0.5068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC53A #453AC5
analogous
#C58A3A #BAC53A #75C53A
triadic
#BAC53A #3ABAC5 #C53ABA
tetradic
#BAC53A #3AC58A #453AC5 #C53A75
square
#BAC53A #3AC58A #453AC5 #C53A75
split-complementary
#BAC53A #3A75C5 #8A3AC5
monochromatic
#61661E #8D962C #BAC53A #CBD369 #DBE199

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC53A#FFFFFF#000000##000000
##BAC53A1.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)
#D3BB22
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#C6B9AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac53a;
/* rgb */ color: rgb(186, 197, 58);
/* oklch */ color: oklch(79.0% 0.157 113.9);
Tailwind
colors: {
  custom: {
    50: '#d2d679',
    500: '#bac53a',
    950: '#000000',
  },
}
SCSS
$custom: #bac53a;
$custom-light: #d2d679;
$custom-dark: #000000;
JSON
{
  "hex": "#bac53a",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 58
  },
  "hsl": {
    "h": 64.748,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.7901,
    "c": 0.15714,
    "h": 113.9
  },
  "luminance": 0.50677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAC53A

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

Preview Lab → · Contrast checker → · Palette generator →

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