#BAC145#BAC145

#BAC145 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.2% C 0.145 H 112.4°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#BAC145
RGBrgb(186, 193, 69)
HSLhsl(63, 50%, 51%)
HSVhsv(63, 64%, 76%)
CMYKcmyk(3.6%, 0%, 64.2%, 24.3%)
CIE-LABlab(75.46, -18.29, 59.30)
CIE-LCHlch(75.46, 62.06, 107.14°)
OKLaboklab(78.21% -0.0553 0.1343)
OKLCHoklch(78.21% 0.145 112.4)
XYZxyz(40.3950, 49.0096, 12.9609)
Luminance0.4901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC145 #4C45C1
analogous
#C18A45 #BAC145 #7CC145
triadic
#BAC145 #45BAC1 #C145BA
tetradic
#BAC145 #45C18A #4C45C1 #C1457C
square
#BAC145 #45C18A #4C45C1 #C1457C
split-complementary
#BAC145 #457CC1 #8A45C1
monochromatic
#656923 #919732 #BAC145 #CBD073 #DCE0A1

Accessibility & contrast

On white

1.94
#BAC145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#BAC145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC145
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC145#FFFFFF#000000##000000
##BAC1451.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB835
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#C6B6A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac145;
/* rgb */ color: rgb(186, 193, 69);
/* oklch */ color: oklch(78.2% 0.145 112.4);
Tailwind
colors: {
  custom: {
    50: '#d2d37f',
    500: '#bac145',
    950: '#000000',
  },
}
SCSS
$custom: #bac145;
$custom-light: #d2d37f;
$custom-dark: #000000;
JSON
{
  "hex": "#bac145",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 63.387,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78212,
    "c": 0.14524,
    "h": 112.4
  },
  "luminance": 0.49009
}

Semantic roles & 50–950 ramp

primary
#BAC145
secondary
#9996CC
accent
#4EDA56
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC145

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

Preview Lab → · Contrast checker → · Palette generator →

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