#BAC03E#BAC03E

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

Color values

HEX#BAC03E
RGBrgb(186, 192, 62)
HSLhsl(63, 51%, 50%)
HSVhsv(63, 68%, 75%)
CMYKcmyk(3.1%, 0%, 67.7%, 24.7%)
CIE-LABlab(75.13, -18.21, 61.74)
CIE-LCHlch(75.13, 64.37, 106.43°)
OKLaboklab(77.94% -0.0558 0.1383)
OKLCHoklch(77.94% 0.149 112)
XYZxyz(39.9700, 48.4871, 11.8099)
Luminance0.4849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC03E #443EC0
analogous
#C0853E #BAC03E #79C03E
triadic
#BAC03E #3EBAC0 #C03EBA
tetradic
#BAC03E #3EC085 #443EC0 #C03E79
square
#BAC03E #3EC085 #443EC0 #C03E79
split-complementary
#BAC03E #3E79C0 #853EC0
monochromatic
#606320 #8D922F #BAC03E #CBCF6C #DBDE9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC03E#FFFFFF#000000##000000
##BAC03E1.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)
#CEB72A
Deuteranopia (green-blind)
#CFBB47
Tritanopia (blue-blind)
#C6B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac03e;
/* rgb */ color: rgb(186, 192, 62);
/* oklch */ color: oklch(77.9% 0.149 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d27b',
    500: '#bac03e',
    950: '#000000',
  },
}
SCSS
$custom: #bac03e;
$custom-light: #d2d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac03e",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 62
  },
  "hsl": {
    "h": 62.769,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77935,
    "c": 0.14917,
    "h": 112
  },
  "luminance": 0.48486
}

Semantic roles & 50–950 ramp

primary
#BAC03E
secondary
#928FCA
accent
#4DDB54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC03E

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

Preview Lab → · Contrast checker → · Palette generator →

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