#BACF40#BACF40

#BACF40 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.3% C 0.164 H 117.5°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#BACF40
RGBrgb(186, 207, 64)
HSLhsl(69, 60%, 53%)
HSVhsv(69, 69%, 81%)
CMYKcmyk(10.1%, 0%, 69.1%, 18.8%)
CIE-LABlab(79.29, -25.45, 65.16)
CIE-LCHlch(79.29, 69.96, 111.34°)
OKLaboklab(81.27% -0.0758 0.1459)
OKLCHoklch(81.27% 0.164 117.5)
XYZxyz(43.4889, 55.4354, 13.2586)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACF40 #5540CF
analogous
#CF9C40 #BACF40 #72CF40
triadic
#BACF40 #40BACF #CF40BA
tetradic
#BACF40 #40CF9C #5540CF #CF4072
square
#BACF40 #40CF9C #5540CF #CF4072
split-complementary
#BACF40 #4072CF #9C40CF
monochromatic
#6A771E #95A82A #BACF40 #CCDB71 #DDE8A2

Accessibility & contrast

On white

1.74
#BACF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#BACF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACF40
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACF40#FFFFFF#000000##000000
##BACF401.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC429
Deuteranopia (green-blind)
#DBC54B
Tritanopia (blue-blind)
#C5C4B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #bacf40;
/* rgb */ color: rgb(186, 207, 64);
/* oklch */ color: oklch(81.3% 0.164 117.5);
Tailwind
colors: {
  custom: {
    50: '#d2dd7d',
    500: '#bacf40',
    950: '#000000',
  },
}
SCSS
$custom: #bacf40;
$custom-light: #d2dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bacf40",
  "rgb": {
    "r": 186,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 68.811,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81275,
    "c": 0.16439,
    "h": 117.5
  },
  "luminance": 0.55435
}

Semantic roles & 50–950 ramp

primary
#BACF40
secondary
#3F347F
accent
#45E35C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #BACF40

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

Preview Lab → · Contrast checker → · Palette generator →

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