#BACC4A#BACC4A

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

Color values

HEX#BACC4A
RGBrgb(186, 204, 74)
HSLhsl(68, 56%, 55%)
HSVhsv(68, 64%, 80%)
CMYKcmyk(8.8%, 0%, 63.7%, 20%)
CIE-LABlab(78.53, -23.39, 60.49)
CIE-LCHlch(78.53, 64.86, 111.14°)
OKLaboklab(80.69% -0.0691 0.1375)
OKLCHoklch(80.69% 0.154 116.7)
XYZxyz(43.0795, 54.1198, 14.6540)
Luminance0.5412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC4A #5C4ACC
analogous
#CC9D4A #BACC4A #79CC4A
triadic
#BACC4A #4ABACC #CC4ABA
tetradic
#BACC4A #4ACC9D #5C4ACC #CC4A79
square
#BACC4A #4ACC9D #5C4ACC #CC4A79
split-complementary
#BACC4A #4A79CC #9D4ACC
monochromatic
#6D7922 #98A930 #BACC4A #CCD97A #DEE7A9

Accessibility & contrast

On white

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

On black

11.82
#BACC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACC4A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACC4A#FFFFFF#000000##000000
##BACC4A1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bacc4a;
/* rgb */ color: rgb(186, 204, 74);
/* oklch */ color: oklch(80.7% 0.154 116.7);
Tailwind
colors: {
  custom: {
    50: '#d2db83',
    500: '#bacc4a',
    950: '#000000',
  },
}
SCSS
$custom: #bacc4a;
$custom-light: #d2db83;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc4a",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 68.308,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80688,
    "c": 0.15392,
    "h": 116.7
  },
  "luminance": 0.54119
}

Semantic roles & 50–950 ramp

primary
#BACC4A
secondary
#433982
accent
#48DF5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BACC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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