#BAC849#BAC849

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

Color values

HEX#BAC849
RGBrgb(186, 200, 73)
HSLhsl(67, 54%, 54%)
HSVhsv(67, 64%, 78%)
CMYKcmyk(7%, 0%, 63.5%, 21.6%)
CIE-LABlab(77.42, -21.50, 59.72)
CIE-LCHlch(77.42, 63.48, 109.80°)
OKLaboklab(79.79% -0.0639 0.1358)
OKLCHoklch(79.79% 0.15 115.2)
XYZxyz(42.1075, 52.2293, 14.1651)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC849 #5749C8
analogous
#C89649 #BAC849 #7AC849
triadic
#BAC849 #49BAC8 #C849BA
tetradic
#BAC849 #49C896 #5749C8 #C8497A
square
#BAC849 #49C896 #5749C8 #C8497A
split-complementary
#BAC849 #497AC8 #9649C8
monochromatic
#6B7423 #96A331 #BAC849 #CCD678 #DEE4A7

Accessibility & contrast

On white

1.83
#BAC849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#BAC849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC849
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC849#FFFFFF#000000##000000
##BAC8491.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE39
Deuteranopia (green-blind)
#D5C052
Tritanopia (blue-blind)
#C5BDAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac849;
/* rgb */ color: rgb(186, 200, 73);
/* oklch */ color: oklch(79.8% 0.150 115.2);
Tailwind
colors: {
  custom: {
    50: '#d2d882',
    500: '#bac849',
    950: '#000000',
  },
}
SCSS
$custom: #bac849;
$custom-light: #d2d882;
$custom-dark: #000000;
JSON
{
  "hex": "#bac849",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 66.614,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79792,
    "c": 0.15006,
    "h": 115.2
  },
  "luminance": 0.52229
}

Semantic roles & 50–950 ramp

primary
#BAC849
secondary
#40397D
accent
#4BDD5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC849

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

Preview Lab → · Contrast checker → · Palette generator →

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