#BACB41#BACB41

#BACB41 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.4% C 0.159 H 116.2°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#BACB41
RGBrgb(186, 203, 65)
HSLhsl(67, 57%, 53%)
HSVhsv(67, 68%, 80%)
CMYKcmyk(8.4%, 0%, 68%, 20.4%)
CIE-LABlab(78.19, -23.46, 63.68)
CIE-LCHlch(78.19, 67.87, 110.22°)
OKLaboklab(80.39% -0.0702 0.1429)
OKLCHoklch(80.39% 0.159 116.2)
XYZxyz(42.5608, 53.5332, 13.0909)
Luminance0.5353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACB41 #5241CB
analogous
#CB9741 #BACB41 #75CB41
triadic
#BACB41 #41BACB #CB41BA
tetradic
#BACB41 #41CB97 #5241CB #CB4175
square
#BACB41 #41CB97 #5241CB #CB4175
split-complementary
#BACB41 #4175CB #9741CB
monochromatic
#68721F #94A22C #BACB41 #CBD871 #DDE5A1

Accessibility & contrast

On white

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

On black

11.71
#BACB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACB41
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACB41#FFFFFF#000000##000000
##BACB411.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12C
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#C5C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bacb41;
/* rgb */ color: rgb(186, 203, 65);
/* oklch */ color: oklch(80.4% 0.159 116.2);
Tailwind
colors: {
  custom: {
    50: '#d2da7d',
    500: '#bacb41',
    950: '#000000',
  },
}
SCSS
$custom: #bacb41;
$custom-light: #d2da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bacb41",
  "rgb": {
    "r": 186,
    "g": 203,
    "b": 65
  },
  "hsl": {
    "h": 67.391,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80392,
    "c": 0.15921,
    "h": 116.2
  },
  "luminance": 0.53533
}

Semantic roles & 50–950 ramp

primary
#BACB41
secondary
#3E357B
accent
#48E05A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BACB41

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

Preview Lab → · Contrast checker → · Palette generator →

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