#BACC45#BACC45

#BACC45 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.6% C 0.158 H 116.6°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#BACC45
RGBrgb(186, 204, 69)
HSLhsl(68, 57%, 54%)
HSVhsv(68, 66%, 80%)
CMYKcmyk(8.8%, 0%, 66.2%, 20%)
CIE-LABlab(78.49, -23.71, 62.45)
CIE-LCHlch(78.49, 66.80, 110.79°)
OKLaboklab(80.65% -0.0705 0.1409)
OKLCHoklch(80.65% 0.158 116.6)
XYZxyz(42.9177, 54.0551, 13.8019)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC45 #5745CC
analogous
#CC9A45 #BACC45 #76CC45
triadic
#BACC45 #45BACC #CC45BA
tetradic
#BACC45 #45CC9A #5745CC #CC4576
square
#BACC45 #45CC9A #5745CC #CC4576
split-complementary
#BACC45 #4576CC #9A45CC
monochromatic
#6B7620 #96A62E #BACC45 #CCD975 #DEE6A5

Accessibility & contrast

On white

1.78
#BACC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#BACC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACC45
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACC45#FFFFFF#000000##000000
##BACC451.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC232
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#C5C1B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc45;
/* rgb */ color: rgb(186, 204, 69);
/* oklch */ color: oklch(80.6% 0.158 116.6);
Tailwind
colors: {
  custom: {
    50: '#d2db80',
    500: '#bacc45',
    950: '#000000',
  },
}
SCSS
$custom: #bacc45;
$custom-light: #d2db80;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc45",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 68,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80646,
    "c": 0.15758,
    "h": 116.6
  },
  "luminance": 0.54055
}

Semantic roles & 50–950 ramp

primary
#BACC45
secondary
#40367F
accent
#48E05C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BACC45

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

Preview Lab → · Contrast checker → · Palette generator →

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