#BAC948#BAC948

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

Color values

HEX#BAC948
RGBrgb(186, 201, 72)
HSLhsl(67, 54%, 54%)
HSVhsv(67, 64%, 79%)
CMYKcmyk(7.5%, 0%, 64.2%, 21.2%)
CIE-LABlab(77.69, -22.06, 60.42)
CIE-LCHlch(77.69, 64.32, 110.06°)
OKLaboklab(80.01% -0.0656 0.1371)
OKLCHoklch(80.01% 0.152 115.6)
XYZxyz(42.3070, 52.6809, 14.0694)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC948 #5748C9
analogous
#C99748 #BAC948 #79C948
triadic
#BAC948 #48BAC9 #C948BA
tetradic
#BAC948 #48C997 #5748C9 #C94879
square
#BAC948 #48C997 #5748C9 #C94879
split-complementary
#BAC948 #4879C9 #9748C9
monochromatic
#6B7422 #96A430 #BAC948 #CCD777 #DEE5A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC948#FFFFFF#000000##000000
##BAC9481.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)
#D7BF37
Deuteranopia (green-blind)
#D5C151
Tritanopia (blue-blind)
#C5BEAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac948;
/* rgb */ color: rgb(186, 201, 72);
/* oklch */ color: oklch(80.0% 0.152 115.6);
Tailwind
colors: {
  custom: {
    50: '#d2d981',
    500: '#bac948',
    950: '#000000',
  },
}
SCSS
$custom: #bac948;
$custom-light: #d2d981;
$custom-dark: #000000;
JSON
{
  "hex": "#bac948",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 72
  },
  "hsl": {
    "h": 66.977,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80005,
    "c": 0.15196,
    "h": 115.6
  },
  "luminance": 0.5268
}

Semantic roles & 50–950 ramp

primary
#BAC948
secondary
#40387D
accent
#4ADE5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC948

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

Preview Lab → · Contrast checker → · Palette generator →

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