#BAC037#BAC037

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

Color values

HEX#BAC037
RGBrgb(186, 192, 55)
HSLhsl(63, 55%, 48%)
HSVhsv(63, 71%, 75%)
CMYKcmyk(3.1%, 0%, 71.4%, 24.7%)
CIE-LABlab(75.09, -18.57, 64.29)
CIE-LCHlch(75.09, 66.92, 106.12°)
OKLaboklab(77.89% -0.0575 0.1425)
OKLCHoklch(77.89% 0.154 112)
XYZxyz(39.7902, 48.4152, 10.8627)
Luminance0.4841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC037 #3D37C0
analogous
#C08137 #BAC037 #75C037
triadic
#BAC037 #37BAC0 #C037BA
tetradic
#BAC037 #37C081 #3D37C0 #C03775
square
#BAC037 #37C081 #3D37C0 #C03775
split-complementary
#BAC037 #3775C0 #8137C0
monochromatic
#5E611C #8C9029 #BAC037 #CDD262 #DCE092

Accessibility & contrast

On white

1.97
#BAC037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#BAC037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC037
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC037#FFFFFF#000000##000000
##BAC0371.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB71E
Deuteranopia (green-blind)
#CFBA42
Tritanopia (blue-blind)
#C7B4A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac037;
/* rgb */ color: rgb(186, 192, 55);
/* oklch */ color: oklch(77.9% 0.154 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d277',
    500: '#bac037',
    950: '#000000',
  },
}
SCSS
$custom: #bac037;
$custom-light: #d2d277;
$custom-dark: #000000;
JSON
{
  "hex": "#bac037",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 55
  },
  "hsl": {
    "h": 62.628,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77885,
    "c": 0.15369,
    "h": 112
  },
  "luminance": 0.48414
}

Semantic roles & 50–950 ramp

primary
#BAC037
secondary
#8B88CB
accent
#49DF50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC037

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

Preview Lab → · Contrast checker → · Palette generator →

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