#BAC339#BAC339

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

Color values

HEX#BAC339
RGBrgb(186, 195, 57)
HSLhsl(64, 55%, 49%)
HSVhsv(64, 71%, 76%)
CMYKcmyk(4.6%, 0%, 70.8%, 23.5%)
CIE-LABlab(75.93, -19.97, 64.39)
CIE-LCHlch(75.93, 67.41, 107.23°)
OKLaboklab(78.56% -0.0612 0.1431)
OKLCHoklch(78.56% 0.156 113.2)
XYZxyz(40.5045, 49.7656, 11.3421)
Luminance0.4976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC339 #4239C3
analogous
#C38739 #BAC339 #75C339
triadic
#BAC339 #39BAC3 #C339BA
tetradic
#BAC339 #39C387 #4239C3 #C33975
square
#BAC339 #39C387 #4239C3 #C33975
split-complementary
#BAC339 #3975C3 #8739C3
monochromatic
#60641D #8D942B #BAC339 #CBD267 #DBE096

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC339#FFFFFF#000000##000000
##BAC3391.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)
#D1BA21
Deuteranopia (green-blind)
#D1BD44
Tritanopia (blue-blind)
#C6B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac339;
/* rgb */ color: rgb(186, 195, 57);
/* oklch */ color: oklch(78.6% 0.156 113.2);
Tailwind
colors: {
  custom: {
    50: '#d2d578',
    500: '#bac339',
    950: '#000000',
  },
}
SCSS
$custom: #bac339;
$custom-light: #d2d578;
$custom-dark: #000000;
JSON
{
  "hex": "#bac339",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 63.913,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7856,
    "c": 0.15562,
    "h": 113.2
  },
  "luminance": 0.49765
}

Semantic roles & 50–950 ramp

primary
#BAC339
secondary
#908CCC
accent
#4ADE53
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#15140A
muted
#83837C

Preview Lab

Preview with #BAC339

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

Preview Lab → · Contrast checker → · Palette generator →

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