#BAC03B#BAC03B

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

Color values

HEX#BAC03B
RGBrgb(186, 192, 59)
HSLhsl(63, 53%, 49%)
HSVhsv(63, 69%, 75%)
CMYKcmyk(3.1%, 0%, 69.3%, 24.7%)
CIE-LABlab(75.11, -18.37, 62.86)
CIE-LCHlch(75.11, 65.49, 106.29°)
OKLaboklab(77.91% -0.0566 0.1402)
OKLCHoklch(77.91% 0.151 112)
XYZxyz(39.8900, 48.4551, 11.3883)
Luminance0.4845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC03B #413BC0
analogous
#C0843B #BAC03B #78C03B
triadic
#BAC03B #3BBAC0 #C03BBA
tetradic
#BAC03B #3BC084 #413BC0 #C03B78
square
#BAC03B #3BC084 #413BC0 #C03B78
split-complementary
#BAC03B #3B78C0 #843BC0
monochromatic
#5F621E #8D912D #BAC03B #CCD168 #DCDF97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC03B#FFFFFF#000000##000000
##BAC03B1.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)
#CFB725
Deuteranopia (green-blind)
#CFBB45
Tritanopia (blue-blind)
#C7B4A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac03b;
/* rgb */ color: rgb(186, 192, 59);
/* oklch */ color: oklch(77.9% 0.151 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d279',
    500: '#bac03b',
    950: '#000000',
  },
}
SCSS
$custom: #bac03b;
$custom-light: #d2d279;
$custom-dark: #000000;
JSON
{
  "hex": "#bac03b",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 59
  },
  "hsl": {
    "h": 62.707,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77913,
    "c": 0.15117,
    "h": 112
  },
  "luminance": 0.48454
}

Semantic roles & 50–950 ramp

primary
#BAC03B
secondary
#8F8CCA
accent
#4BDC52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC03B

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

Preview Lab → · Contrast checker → · Palette generator →

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