#BACB40#BACB40

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

Color values

HEX#BACB40
RGBrgb(186, 203, 64)
HSLhsl(67, 57%, 52%)
HSVhsv(67, 68%, 80%)
CMYKcmyk(8.4%, 0%, 68.5%, 20.4%)
CIE-LABlab(78.18, -23.52, 64.05)
CIE-LCHlch(78.18, 68.23, 110.16°)
OKLaboklab(80.38% -0.0704 0.1435)
OKLCHoklch(80.38% 0.16 116.1)
XYZxyz(42.5321, 53.5217, 12.9397)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACB40 #5140CB
analogous
#CB9640 #BACB40 #75CB40
triadic
#BACB40 #40BACB #CB40BA
tetradic
#BACB40 #40CB96 #5140CB #CB4075
square
#BACB40 #40CB96 #5140CB #CB4075
split-complementary
#BACB40 #4075CB #9640CB
monochromatic
#68721F #93A22C #BACB40 #CBD870 #DDE5A0

Accessibility & contrast

On white

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

On black

11.70
#BACB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACB40
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACB40#FFFFFF#000000##000000
##BACB401.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bacb40;
/* rgb */ color: rgb(186, 203, 64);
/* oklch */ color: oklch(80.4% 0.160 116.1);
Tailwind
colors: {
  custom: {
    50: '#d2da7d',
    500: '#bacb40',
    950: '#000000',
  },
}
SCSS
$custom: #bacb40;
$custom-light: #d2da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bacb40",
  "rgb": {
    "r": 186,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 67.338,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80384,
    "c": 0.15988,
    "h": 116.1
  },
  "luminance": 0.53521
}

Semantic roles & 50–950 ramp

primary
#BACB40
secondary
#3D357B
accent
#47E05A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BACB40

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

Preview Lab → · Contrast checker → · Palette generator →

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