#BACB4A#BACB4A

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

Color values

HEX#BACB4A
RGBrgb(186, 203, 74)
HSLhsl(68, 55%, 54%)
HSVhsv(68, 64%, 80%)
CMYKcmyk(8.4%, 0%, 63.5%, 20.4%)
CIE-LABlab(78.25, -22.90, 60.20)
CIE-LCHlch(78.25, 64.41, 110.83°)
OKLaboklab(80.47% -0.0678 0.1369)
OKLCHoklch(80.47% 0.153 116.3)
XYZxyz(42.8426, 53.6459, 14.5750)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACB4A #5B4ACB
analogous
#CB9C4A #BACB4A #7ACB4A
triadic
#BACB4A #4ABACB #CB4ABA
tetradic
#BACB4A #4ACB9C #5B4ACB #CB4A7A
square
#BACB4A #4ACB9C #5B4ACB #CB4A7A
split-complementary
#BACB4A #4A7ACB #9C4ACB
monochromatic
#6D7823 #98A830 #BACB4A #CCD97A #DEE6A9

Accessibility & contrast

On white

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

On black

11.73
#BACB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACB4A
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACB4A#FFFFFF#000000##000000
##BACB4A1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C139
Deuteranopia (green-blind)
#D7C253
Tritanopia (blue-blind)
#C5C0B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacb4a;
/* rgb */ color: rgb(186, 203, 74);
/* oklch */ color: oklch(80.5% 0.153 116.3);
Tailwind
colors: {
  custom: {
    50: '#d2da83',
    500: '#bacb4a',
    950: '#000000',
  },
}
SCSS
$custom: #bacb4a;
$custom-light: #d2da83;
$custom-dark: #000000;
JSON
{
  "hex": "#bacb4a",
  "rgb": {
    "r": 186,
    "g": 203,
    "b": 74
  },
  "hsl": {
    "h": 67.907,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80466,
    "c": 0.15276,
    "h": 116.3
  },
  "luminance": 0.53645
}

Semantic roles & 50–950 ramp

primary
#BACB4A
secondary
#423980
accent
#49DF5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BACB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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