#BACB42#BACB42

#BACB42 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#BACB42
RGBrgb(186, 203, 66)
HSLhsl(67, 57%, 53%)
HSVhsv(67, 67%, 80%)
CMYKcmyk(8.4%, 0%, 67.5%, 20.4%)
CIE-LABlab(78.20, -23.40, 63.31)
CIE-LCHlch(78.20, 67.50, 110.29°)
OKLaboklab(80.4% -0.0699 0.1423)
OKLCHoklch(80.4% 0.159 116.2)
XYZxyz(42.5900, 53.5449, 13.2448)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACB42 #5342CB
analogous
#CB9742 #BACB42 #76CB42
triadic
#BACB42 #42BACB #CB42BA
tetradic
#BACB42 #42CB97 #5342CB #CB4276
square
#BACB42 #42CB97 #5342CB #CB4276
split-complementary
#BACB42 #4276CB #9742CB
monochromatic
#697320 #94A32D #BACB42 #CCD872 #DDE5A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BACB42#FFFFFF#000000##000000
##BACB421.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)
#D9C12D
Deuteranopia (green-blind)
#D7C24C
Tritanopia (blue-blind)
#C5C0B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bacb42;
/* rgb */ color: rgb(186, 203, 66);
/* oklch */ color: oklch(80.4% 0.159 116.2);
Tailwind
colors: {
  custom: {
    50: '#d2da7e',
    500: '#bacb42',
    950: '#000000',
  },
}
SCSS
$custom: #bacb42;
$custom-light: #d2da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bacb42",
  "rgb": {
    "r": 186,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 67.445,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80399,
    "c": 0.15853,
    "h": 116.2
  },
  "luminance": 0.53544
}

Semantic roles & 50–950 ramp

primary
#BACB42
secondary
#3E357C
accent
#48E05B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BACB42

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

Preview Lab → · Contrast checker → · Palette generator →

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