#BAC03A#BAC03A

#BAC03A is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.9% C 0.152 H 112.0°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#BAC03A
RGBrgb(186, 192, 58)
HSLhsl(63, 54%, 49%)
HSVhsv(63, 70%, 75%)
CMYKcmyk(3.1%, 0%, 69.8%, 24.7%)
CIE-LABlab(75.10, -18.42, 63.22)
CIE-LCHlch(75.10, 65.85, 106.25°)
OKLaboklab(77.91% -0.0568 0.1408)
OKLCHoklch(77.91% 0.152 112)
XYZxyz(39.8643, 48.4448, 11.2530)
Luminance0.4844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC03A #403AC0
analogous
#C0833A #BAC03A #77C03A
triadic
#BAC03A #3ABAC0 #C03ABA
tetradic
#BAC03A #3AC083 #403AC0 #C03A77
square
#BAC03A #3AC083 #403AC0 #C03A77
split-complementary
#BAC03A #3A77C0 #833AC0
monochromatic
#5F621E #8C912C #BAC03A #CCD166 #DCDF95

Accessibility & contrast

On white

1.96
#BAC03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#BAC03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC03A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC03A#FFFFFF#000000##000000
##BAC03A1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB724
Deuteranopia (green-blind)
#CFBB44
Tritanopia (blue-blind)
#C7B4A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac03a;
/* rgb */ color: rgb(186, 192, 58);
/* oklch */ color: oklch(77.9% 0.152 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d279',
    500: '#bac03a',
    950: '#000000',
  },
}
SCSS
$custom: #bac03a;
$custom-light: #d2d279;
$custom-dark: #000000;
JSON
{
  "hex": "#bac03a",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 62.687,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77905,
    "c": 0.15181,
    "h": 112
  },
  "luminance": 0.48444
}

Semantic roles & 50–950 ramp

primary
#BAC03A
secondary
#8E8BCA
accent
#4BDD51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BAC03A

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

Preview Lab → · Contrast checker → · Palette generator →

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