#BACC42#BACC42

#BACC42 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.6% C 0.160 H 116.5°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#BACC42
RGBrgb(186, 204, 66)
HSLhsl(68, 58%, 53%)
HSVhsv(68, 68%, 80%)
CMYKcmyk(8.8%, 0%, 67.6%, 20%)
CIE-LABlab(78.47, -23.89, 63.59)
CIE-LCHlch(78.47, 67.93, 110.59°)
OKLaboklab(80.62% -0.0713 0.1429)
OKLCHoklch(80.62% 0.16 116.5)
XYZxyz(42.8269, 54.0187, 13.3238)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC42 #5442CC
analogous
#CC9942 #BACC42 #75CC42
triadic
#BACC42 #42BACC #CC42BA
tetradic
#BACC42 #42CC99 #5442CC #CC4275
square
#BACC42 #42CC99 #5442CC #CC4275
split-complementary
#BACC42 #4275CC #9942CC
monochromatic
#69741F #95A42C #BACC42 #CCD972 #DDE6A2

Accessibility & contrast

On white

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

On black

11.80
#BACC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACC42
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACC42#FFFFFF#000000##000000
##BACC421.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#C5C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc42;
/* rgb */ color: rgb(186, 204, 66);
/* oklch */ color: oklch(80.6% 0.160 116.5);
Tailwind
colors: {
  custom: {
    50: '#d2db7e',
    500: '#bacc42',
    950: '#000000',
  },
}
SCSS
$custom: #bacc42;
$custom-light: #d2db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc42",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 67.826,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80622,
    "c": 0.15966,
    "h": 116.5
  },
  "luminance": 0.54018
}

Semantic roles & 50–950 ramp

primary
#BACC42
secondary
#3F357D
accent
#47E15B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #BACC42

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

Preview Lab → · Contrast checker → · Palette generator →

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