#BAC949#BAC949

#BAC949 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.0% C 0.151 H 115.6°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#BAC949
RGBrgb(186, 201, 73)
HSLhsl(67, 54%, 54%)
HSVhsv(67, 64%, 79%)
CMYKcmyk(7.5%, 0%, 63.7%, 21.2%)
CIE-LABlab(77.69, -21.99, 60.02)
CIE-LCHlch(77.69, 63.92, 110.12°)
OKLaboklab(80.01% -0.0653 0.1364)
OKLCHoklch(80.01% 0.151 115.6)
XYZxyz(42.3399, 52.6941, 14.2426)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC949 #5849C9
analogous
#C99849 #BAC949 #7AC949
triadic
#BAC949 #49BAC9 #C949BA
tetradic
#BAC949 #49C998 #5849C9 #C9497A
square
#BAC949 #49C998 #5849C9 #C9497A
split-complementary
#BAC949 #497AC9 #9849C9
monochromatic
#6B7523 #97A431 #BAC949 #CCD778 #DEE5A7

Accessibility & contrast

On white

1.82
#BAC949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#BAC949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC949
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC949#FFFFFF#000000##000000
##BAC9491.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF38
Deuteranopia (green-blind)
#D5C152
Tritanopia (blue-blind)
#C5BEAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac949;
/* rgb */ color: rgb(186, 201, 73);
/* oklch */ color: oklch(80.0% 0.151 115.6);
Tailwind
colors: {
  custom: {
    50: '#d2d982',
    500: '#bac949',
    950: '#000000',
  },
}
SCSS
$custom: #bac949;
$custom-light: #d2d982;
$custom-dark: #000000;
JSON
{
  "hex": "#bac949",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 67.031,
    "s": 54.237,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80014,
    "c": 0.1512,
    "h": 115.6
  },
  "luminance": 0.52693
}

Semantic roles & 50–950 ramp

primary
#BAC949
secondary
#41397E
accent
#4ADE5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC949

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

Preview Lab → · Contrast checker → · Palette generator →

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