#BAC43B#BAC43B

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

Color values

HEX#BAC43B
RGBrgb(186, 196, 59)
HSLhsl(64, 54%, 50%)
HSVhsv(64, 70%, 77%)
CMYKcmyk(5.1%, 0%, 69.9%, 23.1%)
CIE-LABlab(76.21, -20.36, 63.95)
CIE-LCHlch(76.21, 67.11, 107.66°)
OKLaboklab(78.8% -0.0621 0.1425)
OKLCHoklch(78.8% 0.155 113.6)
XYZxyz(40.7802, 50.2356, 11.6850)
Luminance0.5023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC43B #453BC4
analogous
#C48A3B #BAC43B #75C43B
triadic
#BAC43B #3BBAC4 #C43BBA
tetradic
#BAC43B #3BC48A #453BC4 #C43B75
square
#BAC43B #3BC48A #453BC4 #C43B75
split-complementary
#BAC43B #3B75C4 #8A3BC4
monochromatic
#61661F #8D952D #BAC43B #CBD26A #DBE099

Accessibility & contrast

On white

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

On black

11.05
#BAC43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC43B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC43B#FFFFFF#000000##000000
##BAC43B1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac43b;
/* rgb */ color: rgb(186, 196, 59);
/* oklch */ color: oklch(78.8% 0.155 113.6);
Tailwind
colors: {
  custom: {
    50: '#d2d57a',
    500: '#bac43b',
    950: '#000000',
  },
}
SCSS
$custom: #bac43b;
$custom-light: #d2d57a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac43b",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 59
  },
  "hsl": {
    "h": 64.38,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.78795,
    "c": 0.15543,
    "h": 113.6
  },
  "luminance": 0.50235
}

Semantic roles & 50–950 ramp

primary
#BAC43B
secondary
#373370
accent
#4BDD55
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC43B

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

Preview Lab → · Contrast checker → · Palette generator →

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