#BACF42#BACF42

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

Color values

HEX#BACF42
RGBrgb(186, 207, 66)
HSLhsl(69, 59%, 54%)
HSVhsv(69, 68%, 81%)
CMYKcmyk(10.1%, 0%, 68.1%, 18.8%)
CIE-LABlab(79.30, -25.34, 64.43)
CIE-LCHlch(79.30, 69.24, 111.47°)
OKLaboklab(81.29% -0.0753 0.1446)
OKLCHoklch(81.29% 0.163 117.5)
XYZxyz(43.5468, 55.4586, 13.5637)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACF42 #5742CF
analogous
#CF9D42 #BACF42 #73CF42
triadic
#BACF42 #42BACF #CF42BA
tetradic
#BACF42 #42CF9D #5742CF #CF4273
square
#BACF42 #42CF9D #5742CF #CF4273
split-complementary
#BACF42 #4273CF #9D42CF
monochromatic
#6B781F #96A92B #BACF42 #CCDB73 #DEE8A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BACF42#FFFFFF#000000##000000
##BACF421.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)
#DDC42C
Deuteranopia (green-blind)
#DBC54D
Tritanopia (blue-blind)
#C5C4B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #bacf42;
/* rgb */ color: rgb(186, 207, 66);
/* oklch */ color: oklch(81.3% 0.163 117.5);
Tailwind
colors: {
  custom: {
    50: '#d2dd7e',
    500: '#bacf42',
    950: '#000000',
  },
}
SCSS
$custom: #bacf42;
$custom-light: #d2dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bacf42",
  "rgb": {
    "r": 186,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 68.936,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.8129,
    "c": 0.16307,
    "h": 117.5
  },
  "luminance": 0.55458
}

Semantic roles & 50–950 ramp

primary
#BACF42
secondary
#403580
accent
#45E35D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #BACF42

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

Preview Lab → · Contrast checker → · Palette generator →

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