#BAC03F#BAC03F

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

Color values

HEX#BAC03F
RGBrgb(186, 192, 63)
HSLhsl(63, 51%, 50%)
HSVhsv(63, 67%, 75%)
CMYKcmyk(3.1%, 0%, 67.2%, 24.7%)
CIE-LABlab(75.14, -18.15, 61.36)
CIE-LCHlch(75.14, 63.99, 106.48°)
OKLaboklab(77.94% -0.0556 0.1377)
OKLCHoklch(77.94% 0.148 112)
XYZxyz(39.9977, 48.4982, 11.9558)
Luminance0.4850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC03F #453FC0
analogous
#C0863F #BAC03F #79C03F
triadic
#BAC03F #3FBAC0 #C03FBA
tetradic
#BAC03F #3FC086 #453FC0 #C03F79
square
#BAC03F #3FC086 #453FC0 #C03F79
split-complementary
#BAC03F #3F79C0 #863FC0
monochromatic
#616421 #8D9230 #BAC03F #CBCF6D #DBDE9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC03F#FFFFFF#000000##000000
##BAC03F1.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)
#CEB72C
Deuteranopia (green-blind)
#CFBB48
Tritanopia (blue-blind)
#C6B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac03f;
/* rgb */ color: rgb(186, 192, 63);
/* oklch */ color: oklch(77.9% 0.148 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d27b',
    500: '#bac03f',
    950: '#000000',
  },
}
SCSS
$custom: #bac03f;
$custom-light: #d2d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac03f",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 62.791,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.77943,
    "c": 0.14849,
    "h": 112
  },
  "luminance": 0.48497
}

Semantic roles & 50–950 ramp

primary
#BAC03F
secondary
#9391CA
accent
#4EDA54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC03F

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

Preview Lab → · Contrast checker → · Palette generator →

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