#BACC4B#BACC4B

#BACC4B is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.7% C 0.153 H 116.7°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#BACC4B
RGBrgb(186, 204, 75)
HSLhsl(68, 56%, 55%)
HSVhsv(68, 63%, 80%)
CMYKcmyk(8.8%, 0%, 63.2%, 20%)
CIE-LABlab(78.54, -23.32, 60.09)
CIE-LCHlch(78.54, 64.46, 111.21°)
OKLaboklab(80.7% -0.0688 0.1368)
OKLCHoklch(80.7% 0.153 116.7)
XYZxyz(43.1135, 54.1334, 14.8328)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC4B #5D4BCC
analogous
#CC9E4B #BACC4B #7ACC4B
triadic
#BACC4B #4BBACC #CC4BBA
tetradic
#BACC4B #4BCC9E #5D4BCC #CC4B7A
square
#BACC4B #4BCC9E #5D4BCC #CC4B7A
split-complementary
#BACC4B #4B7ACC #9E4BCC
monochromatic
#6E7A23 #99AA30 #BACC4B #CCDA7B #DFE7AA

Accessibility & contrast

On white

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

On black

11.83
#BACC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACC4B
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACC4B#FFFFFF#000000##000000
##BACC4B1.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23B
Deuteranopia (green-blind)
#D8C354
Tritanopia (blue-blind)
#C5C1B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc4b;
/* rgb */ color: rgb(186, 204, 75);
/* oklch */ color: oklch(80.7% 0.153 116.7);
Tailwind
colors: {
  custom: {
    50: '#d2db83',
    500: '#bacc4b',
    950: '#000000',
  },
}
SCSS
$custom: #bacc4b;
$custom-light: #d2db83;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc4b",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 75
  },
  "hsl": {
    "h": 68.372,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80697,
    "c": 0.15315,
    "h": 116.7
  },
  "luminance": 0.54133
}

Semantic roles & 50–950 ramp

primary
#BACC4B
secondary
#433982
accent
#49DF5E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BACC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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