#BACB48#BACB48

#BACB48 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.4% C 0.154 H 116.3°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#BACB48
RGBrgb(186, 203, 72)
HSLhsl(68, 56%, 54%)
HSVhsv(68, 65%, 80%)
CMYKcmyk(8.4%, 0%, 64.5%, 20.4%)
CIE-LABlab(78.24, -23.03, 61.00)
CIE-LCHlch(78.24, 65.20, 110.69°)
OKLaboklab(80.45% -0.0683 0.1383)
OKLCHoklch(80.45% 0.154 116.3)
XYZxyz(42.7763, 53.6194, 14.2258)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACB48 #5948CB
analogous
#CB9B48 #BACB48 #79CB48
triadic
#BACB48 #48BACB #CB48BA
tetradic
#BACB48 #48CB9B #5948CB #CB4879
square
#BACB48 #48CB9B #5948CB #CB4879
split-complementary
#BACB48 #4879CB #9B48CB
monochromatic
#6C7722 #97A62F #BACB48 #CCD978 #DEE6A7

Accessibility & contrast

On white

1.79
#BACB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#BACB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACB48
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACB48#FFFFFF#000000##000000
##BACB481.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C136
Deuteranopia (green-blind)
#D7C251
Tritanopia (blue-blind)
#C5C0B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bacb48;
/* rgb */ color: rgb(186, 203, 72);
/* oklch */ color: oklch(80.4% 0.154 116.3);
Tailwind
colors: {
  custom: {
    50: '#d2da81',
    500: '#bacb48',
    950: '#000000',
  },
}
SCSS
$custom: #bacb48;
$custom-light: #d2da81;
$custom-dark: #000000;
JSON
{
  "hex": "#bacb48",
  "rgb": {
    "r": 186,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 67.786,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80448,
    "c": 0.15426,
    "h": 116.3
  },
  "luminance": 0.53619
}

Semantic roles & 50–950 ramp

primary
#BACB48
secondary
#41387F
accent
#49DF5C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BACB48

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

Preview Lab → · Contrast checker → · Palette generator →

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