#BACC3B#BACC3B

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

Color values

HEX#BACC3B
RGBrgb(186, 204, 59)
HSLhsl(67, 59%, 52%)
HSVhsv(67, 71%, 80%)
CMYKcmyk(8.8%, 0%, 71.1%, 20%)
CIE-LABlab(78.43, -24.27, 66.12)
CIE-LCHlch(78.43, 70.43, 110.16°)
OKLaboklab(80.57% -0.073 0.147)
OKLCHoklch(80.57% 0.164 116.4)
XYZxyz(42.6330, 53.9412, 12.3026)
Luminance0.5394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC3B #4D3BCC
analogous
#CC963B #BACC3B #72CC3B
triadic
#BACC3B #3BBACC #CC3BBA
tetradic
#BACC3B #3BCC96 #4D3BCC #CC3B72
square
#BACC3B #3BCC96 #4D3BCC #CC3B72
split-complementary
#BACC3B #3B72CC #963BCC
monochromatic
#65701D #91A02A #BACC3B #CBD96C #DCE59C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BACC3B#FFFFFF#000000##000000
##BACC3B1.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)
#DAC121
Deuteranopia (green-blind)
#D8C347
Tritanopia (blue-blind)
#C6C0B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc3b;
/* rgb */ color: rgb(186, 204, 59);
/* oklch */ color: oklch(80.6% 0.164 116.4);
Tailwind
colors: {
  custom: {
    50: '#d2db7a',
    500: '#bacc3b',
    950: '#000000',
  },
}
SCSS
$custom: #bacc3b;
$custom-light: #d2db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc3b",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 59
  },
  "hsl": {
    "h": 67.448,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80571,
    "c": 0.16418,
    "h": 116.4
  },
  "luminance": 0.53941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BACC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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