#BAC845#BAC845

#BAC845 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.8% C 0.153 H 115.2°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#BAC845
RGBrgb(186, 200, 69)
HSLhsl(66, 54%, 53%)
HSVhsv(66, 66%, 78%)
CMYKcmyk(7%, 0%, 65.5%, 21.6%)
CIE-LABlab(77.39, -21.76, 61.31)
CIE-LCHlch(77.39, 65.06, 109.54°)
OKLaboklab(79.76% -0.065 0.1385)
OKLCHoklch(79.76% 0.153 115.2)
XYZxyz(41.9792, 52.1780, 13.4890)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC845 #5345C8
analogous
#C89445 #BAC845 #79C845
triadic
#BAC845 #45BAC8 #C845BA
tetradic
#BAC845 #45C894 #5345C8 #C84579
square
#BAC845 #45C894 #5345C8 #C84579
split-complementary
#BAC845 #4579C8 #9445C8
monochromatic
#697121 #94A02F #BAC845 #CCD674 #DDE4A3

Accessibility & contrast

On white

1.84
#BAC845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#BAC845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC845
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC845#FFFFFF#000000##000000
##BAC8451.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE33
Deuteranopia (green-blind)
#D5C04E
Tritanopia (blue-blind)
#C6BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac845;
/* rgb */ color: rgb(186, 200, 69);
/* oklch */ color: oklch(79.8% 0.153 115.2);
Tailwind
colors: {
  custom: {
    50: '#d2d87f',
    500: '#bac845',
    950: '#000000',
  },
}
SCSS
$custom: #bac845;
$custom-light: #d2d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#bac845",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 66.412,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79758,
    "c": 0.15303,
    "h": 115.2
  },
  "luminance": 0.52177
}

Semantic roles & 50–950 ramp

primary
#BAC845
secondary
#3E377A
accent
#4ADE5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC845

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

Preview Lab → · Contrast checker → · Palette generator →

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