#BAC63B#BAC63B

#BAC63B is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.2% C 0.158 H 114.3°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#BAC63B
RGBrgb(186, 198, 59)
HSLhsl(65, 55%, 50%)
HSVhsv(65, 70%, 78%)
CMYKcmyk(6.1%, 0%, 70.2%, 22.4%)
CIE-LABlab(76.77, -21.34, 64.49)
CIE-LCHlch(76.77, 67.93, 108.31°)
OKLaboklab(79.24% -0.0649 0.1436)
OKLCHoklch(79.24% 0.158 114.3)
XYZxyz(41.2343, 51.1438, 11.8364)
Luminance0.5114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC63B #473BC6
analogous
#C68D3B #BAC63B #74C63B
triadic
#BAC63B #3BBAC6 #C63BBA
tetradic
#BAC63B #3BC68D #473BC6 #C63B74
square
#BAC63B #3BC68D #473BC6 #C63B74
split-complementary
#BAC63B #3B74C6 #8D3BC6
monochromatic
#62681E #8E982C #BAC63B #CBD46A #DBE29A

Accessibility & contrast

On white

1.87
#BAC63B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#BAC63B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC63B
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC63B#FFFFFF#000000##000000
##BAC63B1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC23
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#C6BAAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac63b;
/* rgb */ color: rgb(186, 198, 59);
/* oklch */ color: oklch(79.2% 0.158 114.3);
Tailwind
colors: {
  custom: {
    50: '#d2d77a',
    500: '#bac63b',
    950: '#000000',
  },
}
SCSS
$custom: #bac63b;
$custom-light: #d2d77a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac63b",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 59
  },
  "hsl": {
    "h": 65.18,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79238,
    "c": 0.1576,
    "h": 114.3
  },
  "luminance": 0.51143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAC63B

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

Preview Lab → · Contrast checker → · Palette generator →

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