#BAC02C#BAC02C

#BAC02C is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.8% C 0.160 H 112.0°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#BAC02C
RGBrgb(186, 192, 44)
HSLhsl(62, 63%, 46%)
HSVhsv(62, 77%, 75%)
CMYKcmyk(3.1%, 0%, 77.1%, 24.7%)
CIE-LABlab(75.03, -19.06, 67.85)
CIE-LCHlch(75.03, 70.47, 105.69°)
OKLaboklab(77.82% -0.0598 0.1481)
OKLCHoklch(77.82% 0.16 112)
XYZxyz(39.5553, 48.3212, 9.6256)
Luminance0.4832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC02C #322CC0
analogous
#C07C2C #BAC02C #70C02C
triadic
#BAC02C #2CBAC0 #C02CBA
tetradic
#BAC02C #2CC07C #322CC0 #C02C70
square
#BAC02C #2CC07C #322CC0 #C02C70
split-complementary
#BAC02C #2C70C0 #7C2CC0
monochromatic
#5A5C15 #8A8E21 #BAC02C #D2D752 #DFE384

Accessibility & contrast

On white

1.97
#BAC02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#BAC02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC02C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC02C#FFFFFF#000000##000000
##BAC02C1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#D0BA39
Tritanopia (blue-blind)
#C7B4A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac02c;
/* rgb */ color: rgb(186, 192, 44);
/* oklch */ color: oklch(77.8% 0.160 112.0);
Tailwind
colors: {
  custom: {
    50: '#d3d272',
    500: '#bac02c',
    950: '#000000',
  },
}
SCSS
$custom: #bac02c;
$custom-light: #d3d272;
$custom-dark: #000000;
JSON
{
  "hex": "#bac02c",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 44
  },
  "hsl": {
    "h": 62.432,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77819,
    "c": 0.15975,
    "h": 112
  },
  "luminance": 0.4832
}

Semantic roles & 50–950 ramp

primary
#BAC02C
secondary
#7F7CCC
accent
#42E649
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC02C

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

Preview Lab → · Contrast checker → · Palette generator →

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