#BACC39#BACC39

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

Color values

HEX#BACC39
RGBrgb(186, 204, 57)
HSLhsl(67, 59%, 51%)
HSVhsv(67, 72%, 80%)
CMYKcmyk(8.8%, 0%, 72.1%, 20%)
CIE-LABlab(78.42, -24.37, 66.80)
CIE-LCHlch(78.42, 71.11, 110.04°)
OKLaboklab(80.56% -0.0735 0.1482)
OKLCHoklch(80.56% 0.165 116.4)
XYZxyz(42.5822, 53.9208, 12.0347)
Luminance0.5392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC39 #4B39CC
analogous
#CC9439 #BACC39 #70CC39
triadic
#BACC39 #39BACC #CC39BA
tetradic
#BACC39 #39CC94 #4B39CC #CC3970
square
#BACC39 #39CC94 #4B39CC #CC3970
split-complementary
#BACC39 #3970CC #9439CC
monochromatic
#646E1C #909F29 #BACC39 #CBD96A #DCE59A

Accessibility & contrast

On white

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

On black

11.78
#BACC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACC39
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACC39#FFFFFF#000000##000000
##BACC391.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11D
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#C6C0B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc39;
/* rgb */ color: rgb(186, 204, 57);
/* oklch */ color: oklch(80.6% 0.165 116.4);
Tailwind
colors: {
  custom: {
    50: '#d2db79',
    500: '#bacc39',
    950: '#000000',
  },
}
SCSS
$custom: #bacc39;
$custom-light: #d2db79;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc39",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 67.347,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80558,
    "c": 0.16538,
    "h": 116.4
  },
  "luminance": 0.5392
}

Semantic roles & 50–950 ramp

primary
#BACC39
secondary
#3A3278
accent
#46E259
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BACC39

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

Preview Lab → · Contrast checker → · Palette generator →

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