#BACC3D#BACC3D

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

Color values

HEX#BACC3D
RGBrgb(186, 204, 61)
HSLhsl(68, 58%, 52%)
HSVhsv(68, 70%, 80%)
CMYKcmyk(8.8%, 0%, 70.1%, 20%)
CIE-LABlab(78.44, -24.17, 65.41)
CIE-LCHlch(78.44, 69.74, 110.28°)
OKLaboklab(80.58% -0.0725 0.1459)
OKLCHoklch(80.58% 0.163 116.4)
XYZxyz(42.6859, 53.9623, 12.5811)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC3D #4F3DCC
analogous
#CC963D #BACC3D #73CC3D
triadic
#BACC3D #3DBACC #CC3DBA
tetradic
#BACC3D #3DCC96 #4F3DCC #CC3D73
square
#BACC3D #3DCC96 #4F3DCC #CC3D73
split-complementary
#BACC3D #3D73CC #963DCC
monochromatic
#66711E #92A12A #BACC3D #CBD96D #DCE59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BACC3D#FFFFFF#000000##000000
##BACC3D1.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)
#DAC125
Deuteranopia (green-blind)
#D8C348
Tritanopia (blue-blind)
#C6C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc3d;
/* rgb */ color: rgb(186, 204, 61);
/* oklch */ color: oklch(80.6% 0.163 116.4);
Tailwind
colors: {
  custom: {
    50: '#d2db7b',
    500: '#bacc3d',
    950: '#000000',
  },
}
SCSS
$custom: #bacc3d;
$custom-light: #d2db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc3d",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 61
  },
  "hsl": {
    "h": 67.552,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80585,
    "c": 0.16294,
    "h": 116.4
  },
  "luminance": 0.53962
}

Semantic roles & 50–950 ramp

primary
#BACC3D
secondary
#3C337A
accent
#46E25A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #BACC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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