#BACC2B#BACC2B

#BACC2B is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.5% C 0.173 H 116.2°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#BACC2B
RGBrgb(186, 204, 43)
HSLhsl(67, 65%, 48%)
HSVhsv(67, 79%, 80%)
CMYKcmyk(8.8%, 0%, 78.9%, 20%)
CIE-LABlab(78.34, -24.98, 71.12)
CIE-LCHlch(78.34, 75.38, 109.35°)
OKLaboklab(80.48% -0.0763 0.1549)
OKLCHoklch(80.48% 0.173 116.2)
XYZxyz(42.2798, 53.7999, 10.4422)
Luminance0.5380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC2B #3D2BCC
analogous
#CC8D2B #BACC2B #69CC2B
triadic
#BACC2B #2BBACC #CC2BBA
tetradic
#BACC2B #2BCC8D #3D2BCC #CC2B69
square
#BACC2B #2BCC8D #3D2BCC #CC2B69
split-complementary
#BACC2B #2B69CC #8D2BCC
monochromatic
#5E6716 #8C9920 #BACC2B #CDDC58 #DCE78B

Accessibility & contrast

On white

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

On black

11.76
#BACC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACC2B
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACC2B#FFFFFF#000000##000000
##BACC2B1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC100
Deuteranopia (green-blind)
#D9C33B
Tritanopia (blue-blind)
#C6C0AF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc2b;
/* rgb */ color: rgb(186, 204, 43);
/* oklch */ color: oklch(80.5% 0.173 116.2);
Tailwind
colors: {
  custom: {
    50: '#d3db73',
    500: '#bacc2b',
    950: '#000000',
  },
}
SCSS
$custom: #bacc2b;
$custom-light: #d3db73;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc2b",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 43
  },
  "hsl": {
    "h": 66.708,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80478,
    "c": 0.17268,
    "h": 116.2
  },
  "luminance": 0.53799
}

Semantic roles & 50–950 ramp

primary
#BACC2B
secondary
#322A71
accent
#40E852
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #BACC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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