#BAC43A#BAC43A

#BAC43A is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.8% C 0.156 H 113.6°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#BAC43A
RGBrgb(186, 196, 58)
HSLhsl(64, 54%, 50%)
HSVhsv(64, 70%, 77%)
CMYKcmyk(5.1%, 0%, 70.4%, 23.1%)
CIE-LABlab(76.21, -20.41, 64.30)
CIE-LCHlch(76.21, 67.46, 107.61°)
OKLaboklab(78.79% -0.0624 0.1431)
OKLCHoklch(78.79% 0.156 113.6)
XYZxyz(40.7545, 50.2253, 11.5497)
Luminance0.5022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC43A #443AC4
analogous
#C4893A #BAC43A #75C43A
triadic
#BAC43A #3ABAC4 #C43ABA
tetradic
#BAC43A #3AC489 #443AC4 #C43A75
square
#BAC43A #3AC489 #443AC4 #C43A75
split-complementary
#BAC43A #3A75C4 #893AC4
monochromatic
#60661E #8D952C #BAC43A #CBD369 #DBE098

Accessibility & contrast

On white

1.90
#BAC43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#BAC43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC43A
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC43A#FFFFFF#000000##000000
##BAC43A1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB22
Deuteranopia (green-blind)
#D2BD45
Tritanopia (blue-blind)
#C6B8A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bac43a;
/* rgb */ color: rgb(186, 196, 58);
/* oklch */ color: oklch(78.8% 0.156 113.6);
Tailwind
colors: {
  custom: {
    50: '#d2d579',
    500: '#bac43a',
    950: '#000000',
  },
}
SCSS
$custom: #bac43a;
$custom-light: #d2d579;
$custom-dark: #000000;
JSON
{
  "hex": "#bac43a",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 58
  },
  "hsl": {
    "h": 64.348,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.78788,
    "c": 0.15607,
    "h": 113.6
  },
  "luminance": 0.50224
}

Semantic roles & 50–950 ramp

primary
#BAC43A
secondary
#373270
accent
#4ADE55
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BAC43A

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

Preview Lab → · Contrast checker → · Palette generator →

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