#BACC3A#BACC3A

#BACC3A 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.79:1 contrast (WCAG AA passes).

Color values

HEX#BACC3A
RGBrgb(186, 204, 58)
HSLhsl(67, 59%, 51%)
HSVhsv(67, 72%, 80%)
CMYKcmyk(8.8%, 0%, 71.6%, 20%)
CIE-LABlab(78.42, -24.32, 66.46)
CIE-LCHlch(78.42, 70.77, 110.10°)
OKLaboklab(80.56% -0.0732 0.1476)
OKLCHoklch(80.56% 0.165 116.4)
XYZxyz(42.6073, 53.9309, 12.1673)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC3A #4C3ACC
analogous
#CC953A #BACC3A #71CC3A
triadic
#BACC3A #3ABACC #CC3ABA
tetradic
#BACC3A #3ACC95 #4C3ACC #CC3A71
square
#BACC3A #3ACC95 #4C3ACC #CC3A71
split-complementary
#BACC3A #3A71CC #953ACC
monochromatic
#656F1D #91A029 #BACC3A #CBD96B #DCE59B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BACC3A#FFFFFF#000000##000000
##BACC3A1.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)
#DAC11F
Deuteranopia (green-blind)
#D9C346
Tritanopia (blue-blind)
#C6C0B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc3a;
/* rgb */ color: rgb(186, 204, 58);
/* oklch */ color: oklch(80.6% 0.165 116.4);
Tailwind
colors: {
  custom: {
    50: '#d2db7a',
    500: '#bacc3a',
    950: '#000000',
  },
}
SCSS
$custom: #bacc3a;
$custom-light: #d2db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc3a",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 67.397,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80564,
    "c": 0.16479,
    "h": 116.4
  },
  "luminance": 0.5393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BACC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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