#BAC12C#BAC12C

#BAC12C is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.0% C 0.161 H 112.4°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#BAC12C
RGBrgb(186, 193, 44)
HSLhsl(63, 63%, 46%)
HSVhsv(63, 77%, 76%)
CMYKcmyk(3.6%, 0%, 77.2%, 24.3%)
CIE-LABlab(75.30, -19.55, 68.10)
CIE-LCHlch(75.30, 70.85, 106.02°)
OKLaboklab(78.04% -0.0612 0.1487)
OKLCHoklch(78.04% 0.161 112.4)
XYZxyz(39.7756, 48.7618, 9.6991)
Luminance0.4876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC12C #332CC1
analogous
#C17E2C #BAC12C #70C12C
triadic
#BAC12C #2CBAC1 #C12CBA
tetradic
#BAC12C #2CC17E #332CC1 #C12C70
square
#BAC12C #2CC17E #332CC1 #C12C70
split-complementary
#BAC12C #2C70C1 #7E2CC1
monochromatic
#5A5D15 #8A8F21 #BAC12C #D1D853 #DFE384

Accessibility & contrast

On white

1.95
#BAC12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#BAC12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC12C
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC12C#FFFFFF#000000##000000
##BAC12C1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D0BB39
Tritanopia (blue-blind)
#C7B5A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac12c;
/* rgb */ color: rgb(186, 193, 44);
/* oklch */ color: oklch(78.0% 0.161 112.4);
Tailwind
colors: {
  custom: {
    50: '#d3d372',
    500: '#bac12c',
    950: '#000000',
  },
}
SCSS
$custom: #bac12c;
$custom-light: #d3d372;
$custom-dark: #000000;
JSON
{
  "hex": "#bac12c",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 44
  },
  "hsl": {
    "h": 62.819,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7804,
    "c": 0.16076,
    "h": 112.4
  },
  "luminance": 0.48761
}

Semantic roles & 50–950 ramp

primary
#BAC12C
secondary
#807DCC
accent
#42E64A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC12C

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

Preview Lab → · Contrast checker → · Palette generator →

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