#BACC4F#BACC4F

#BACC4F is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.7% C 0.150 H 116.8°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#BACC4F
RGBrgb(186, 204, 79)
HSLhsl(69, 55%, 55%)
HSVhsv(69, 61%, 80%)
CMYKcmyk(8.8%, 0%, 61.3%, 20%)
CIE-LABlab(78.57, -23.05, 58.45)
CIE-LCHlch(78.57, 62.83, 111.52°)
OKLaboklab(80.73% -0.0677 0.1339)
OKLCHoklch(80.73% 0.15 116.8)
XYZxyz(43.2547, 54.1898, 15.5767)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC4F #614FCC
analogous
#CC9F4F #BACC4F #7BCC4F
triadic
#BACC4F #4FBACC #CC4FBA
tetradic
#BACC4F #4FCC9F #614FCC #CC4F7B
square
#BACC4F #4FCC9F #614FCC #CC4F7B
split-complementary
#BACC4F #4F7BCC #9F4FCC
monochromatic
#707D24 #9AAC32 #BACC4F #CDDA7E #DFE7AE

Accessibility & contrast

On white

1.77
#BACC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#BACC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACC4F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACC4F#FFFFFF#000000##000000
##BACC4F1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#C5C1B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc4f;
/* rgb */ color: rgb(186, 204, 79);
/* oklch */ color: oklch(80.7% 0.150 116.8);
Tailwind
colors: {
  custom: {
    50: '#d1db86',
    500: '#bacc4f',
    950: '#000000',
  },
}
SCSS
$custom: #bacc4f;
$custom-light: #d1db86;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc4f",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 68.64,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80734,
    "c": 0.15002,
    "h": 116.8
  },
  "luminance": 0.54189
}

Semantic roles & 50–950 ramp

primary
#BACC4F
secondary
#453B84
accent
#49DE5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BACC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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