#BACC3E#BACC3E

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

Color values

HEX#BACC3E
RGBrgb(186, 204, 62)
HSLhsl(68, 58%, 52%)
HSVhsv(68, 70%, 80%)
CMYKcmyk(8.8%, 0%, 69.6%, 20%)
CIE-LABlab(78.45, -24.11, 65.06)
CIE-LCHlch(78.45, 69.38, 110.34°)
OKLaboklab(80.59% -0.0723 0.1453)
OKLCHoklch(80.59% 0.162 116.4)
XYZxyz(42.7131, 53.9732, 12.7243)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC3E #503ECC
analogous
#CC973E #BACC3E #73CC3E
triadic
#BACC3E #3EBACC #CC3EBA
tetradic
#BACC3E #3ECC97 #503ECC #CC3E73
square
#BACC3E #3ECC97 #503ECC #CC3E73
split-complementary
#BACC3E #3E73CC #973ECC
monochromatic
#67721E #93A22B #BACC3E #CBD96E #DDE69F

Accessibility & contrast

On white

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

On black

11.79
#BACC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACC3E
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACC3E#FFFFFF#000000##000000
##BACC3E1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC126
Deuteranopia (green-blind)
#D8C349
Tritanopia (blue-blind)
#C6C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc3e;
/* rgb */ color: rgb(186, 204, 62);
/* oklch */ color: oklch(80.6% 0.162 116.4);
Tailwind
colors: {
  custom: {
    50: '#d2db7c',
    500: '#bacc3e',
    950: '#000000',
  },
}
SCSS
$custom: #bacc3e;
$custom-light: #d2db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc3e",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 67.606,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80592,
    "c": 0.1623,
    "h": 116.4
  },
  "luminance": 0.53973
}

Semantic roles & 50–950 ramp

primary
#BACC3E
secondary
#3D347B
accent
#46E15A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #BACC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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