#BAC03D#BAC03D

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

Color values

HEX#BAC03D
RGBrgb(186, 192, 61)
HSLhsl(63, 52%, 50%)
HSVhsv(63, 68%, 75%)
CMYKcmyk(3.1%, 0%, 68.2%, 24.7%)
CIE-LABlab(75.12, -18.26, 62.12)
CIE-LCHlch(75.12, 64.75, 106.38°)
OKLaboklab(77.93% -0.0561 0.139)
OKLCHoklch(77.93% 0.15 112)
XYZxyz(39.9429, 48.4762, 11.6667)
Luminance0.4848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC03D #433DC0
analogous
#C0853D #BAC03D #79C03D
triadic
#BAC03D #3DBAC0 #C03DBA
tetradic
#BAC03D #3DC085 #433DC0 #C03D79
square
#BAC03D #3DC085 #433DC0 #C03D79
split-complementary
#BAC03D #3D79C0 #853DC0
monochromatic
#60631F #8D922E #BAC03D #CBD06A #DBDF99

Accessibility & contrast

On white

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

On black

10.70
#BAC03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC03D
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC03D#FFFFFF#000000##000000
##BAC03D1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB729
Deuteranopia (green-blind)
#CFBB46
Tritanopia (blue-blind)
#C6B4A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac03d;
/* rgb */ color: rgb(186, 192, 61);
/* oklch */ color: oklch(77.9% 0.150 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d27a',
    500: '#bac03d',
    950: '#000000',
  },
}
SCSS
$custom: #bac03d;
$custom-light: #d2d27a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac03d",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 61
  },
  "hsl": {
    "h": 62.748,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77927,
    "c": 0.14985,
    "h": 112
  },
  "luminance": 0.48475
}

Semantic roles & 50–950 ramp

primary
#BAC03D
secondary
#918ECA
accent
#4DDB53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC03D

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

Preview Lab → · Contrast checker → · Palette generator →

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