#BAC337#BAC337

#BAC337 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.5% C 0.157 H 113.2°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#BAC337
RGBrgb(186, 195, 55)
HSLhsl(64, 56%, 49%)
HSVhsv(64, 72%, 76%)
CMYKcmyk(4.6%, 0%, 71.8%, 23.5%)
CIE-LABlab(75.91, -20.07, 65.08)
CIE-LCHlch(75.91, 68.11, 107.13°)
OKLaboklab(78.55% -0.0617 0.1442)
OKLCHoklch(78.55% 0.157 113.2)
XYZxyz(40.4556, 49.7460, 11.0845)
Luminance0.4975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC337 #4037C3
analogous
#C38637 #BAC337 #74C337
triadic
#BAC337 #37BAC3 #C337BA
tetradic
#BAC337 #37C386 #4037C3 #C33774
square
#BAC337 #37C386 #4037C3 #C33774
split-complementary
#BAC337 #3774C3 #8637C3
monochromatic
#5F641C #8C932A #BAC337 #CCD364 #DCE194

Accessibility & contrast

On white

1.92
#BAC337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#BAC337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC337
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC337#FFFFFF#000000##000000
##BAC3371.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1D
Deuteranopia (green-blind)
#D2BD42
Tritanopia (blue-blind)
#C6B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac337;
/* rgb */ color: rgb(186, 195, 55);
/* oklch */ color: oklch(78.5% 0.157 113.2);
Tailwind
colors: {
  custom: {
    50: '#d2d577',
    500: '#bac337',
    950: '#000000',
  },
}
SCSS
$custom: #bac337;
$custom-light: #d2d577;
$custom-dark: #000000;
JSON
{
  "hex": "#bac337",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 55
  },
  "hsl": {
    "h": 63.857,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78547,
    "c": 0.15684,
    "h": 113.2
  },
  "luminance": 0.49745
}

Semantic roles & 50–950 ramp

primary
#BAC337
secondary
#8E8ACC
accent
#49DF52
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#151409
muted
#83837B

Preview Lab

Preview with #BAC337

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

Preview Lab → · Contrast checker → · Palette generator →

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