#BACC3C#BACC3C

#BACC3C is a light, vivid yellow. Relative luminance 0.540; 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#BACC3C
RGBrgb(186, 204, 60)
HSLhsl(68, 59%, 52%)
HSVhsv(68, 71%, 80%)
CMYKcmyk(8.8%, 0%, 70.6%, 20%)
CIE-LABlab(78.43, -24.22, 65.77)
CIE-LCHlch(78.43, 70.09, 110.22°)
OKLaboklab(80.58% -0.0728 0.1465)
OKLCHoklch(80.58% 0.164 116.4)
XYZxyz(42.6592, 53.9517, 12.4405)
Luminance0.5395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC3C #4E3CCC
analogous
#CC963C #BACC3C #72CC3C
triadic
#BACC3C #3CBACC #CC3CBA
tetradic
#BACC3C #3CCC96 #4E3CCC #CC3C72
square
#BACC3C #3CCC96 #4E3CCC #CC3C72
split-complementary
#BACC3C #3C72CC #963CCC
monochromatic
#66701D #92A12A #BACC3C #CBD96D #DCE59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #bacc3c;
/* rgb */ color: rgb(186, 204, 60);
/* oklch */ color: oklch(80.6% 0.164 116.4);
Tailwind
colors: {
  custom: {
    50: '#d2db7b',
    500: '#bacc3c',
    950: '#000000',
  },
}
SCSS
$custom: #bacc3c;
$custom-light: #d2db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc3c",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 60
  },
  "hsl": {
    "h": 67.5,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80578,
    "c": 0.16356,
    "h": 116.4
  },
  "luminance": 0.53951
}

Semantic roles & 50–950 ramp

primary
#BACC3C
secondary
#3C3379
accent
#46E25A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BACC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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