#BAC345#BAC345

#BAC345 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.7% C 0.147 H 113.2°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#BAC345
RGBrgb(186, 195, 69)
HSLhsl(64, 51%, 52%)
HSVhsv(64, 65%, 76%)
CMYKcmyk(4.6%, 0%, 64.6%, 23.5%)
CIE-LABlab(76.01, -19.29, 59.88)
CIE-LCHlch(76.01, 62.91, 107.85°)
OKLaboklab(78.65% -0.0581 0.1355)
OKLCHoklch(78.65% 0.147 113.2)
XYZxyz(40.8401, 49.8998, 13.1093)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC345 #4E45C3
analogous
#C38D45 #BAC345 #7BC345
triadic
#BAC345 #45BAC3 #C345BA
tetradic
#BAC345 #45C38D #4E45C3 #C3457B
square
#BAC345 #45C38D #4E45C3 #C3457B
split-complementary
#BAC345 #457BC3 #8D45C3
monochromatic
#666B23 #929931 #BAC345 #CBD273 #DCE1A2

Accessibility & contrast

On white

1.91
#BAC345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#BAC345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC345
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC345#FFFFFF#000000##000000
##BAC3451.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA34
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#C6B8A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac345;
/* rgb */ color: rgb(186, 195, 69);
/* oklch */ color: oklch(78.7% 0.147 113.2);
Tailwind
colors: {
  custom: {
    50: '#d2d57f',
    500: '#bac345',
    950: '#000000',
  },
}
SCSS
$custom: #bac345;
$custom-light: #d2d57f;
$custom-dark: #000000;
JSON
{
  "hex": "#bac345",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 64.286,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78653,
    "c": 0.14744,
    "h": 113.2
  },
  "luminance": 0.49899
}

Semantic roles & 50–950 ramp

primary
#BAC345
secondary
#9A96CE
accent
#4DDB57
background
#FDFDF8
surface
#FAFAEF
border
#D3D3CA
text
#14140A
muted
#83837C

Preview Lab

Preview with #BAC345

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

Preview Lab → · Contrast checker → · Palette generator →

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