#BAC52C#BAC52C

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

Color values

HEX#BAC52C
RGBrgb(186, 197, 44)
HSLhsl(64, 63%, 47%)
HSVhsv(64, 78%, 77%)
CMYKcmyk(5.6%, 0%, 77.7%, 22.7%)
CIE-LABlab(76.41, -21.53, 69.10)
CIE-LCHlch(76.41, 72.37, 107.31°)
OKLaboklab(78.93% -0.0667 0.1508)
OKLCHoklch(78.93% 0.165 113.9)
XYZxyz(40.6719, 50.5543, 9.9978)
Luminance0.5055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC52C #372CC5
analogous
#C5842C #BAC52C #6DC52C
triadic
#BAC52C #2CBAC5 #C52CBA
tetradic
#BAC52C #2CC584 #372CC5 #C52C6D
square
#BAC52C #2CC584 #372CC5 #C52C6D
split-complementary
#BAC52C #2C6DC5 #842CC5
monochromatic
#5C6116 #8B9321 #BAC52C #D0D955 #DEE487

Accessibility & contrast

On white

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

On black

11.11
#BAC52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC52C
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC52C#FFFFFF#000000##000000
##BAC52C1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D4BE3A
Tritanopia (blue-blind)
#C7B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bac52c;
/* rgb */ color: rgb(186, 197, 44);
/* oklch */ color: oklch(78.9% 0.165 113.9);
Tailwind
colors: {
  custom: {
    50: '#d3d673',
    500: '#bac52c',
    950: '#000000',
  },
}
SCSS
$custom: #bac52c;
$custom-light: #d3d673;
$custom-dark: #000000;
JSON
{
  "hex": "#bac52c",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 44
  },
  "hsl": {
    "h": 64.314,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78925,
    "c": 0.16487,
    "h": 113.9
  },
  "luminance": 0.50553
}

Semantic roles & 50–950 ramp

primary
#BAC52C
secondary
#2E296C
accent
#41E74D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC52C

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

Preview Lab → · Contrast checker → · Palette generator →

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