#BACF45#BACF45

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

Color values

HEX#BACF45
RGBrgb(186, 207, 69)
HSLhsl(69, 59%, 54%)
HSVhsv(69, 67%, 81%)
CMYKcmyk(10.1%, 0%, 66.7%, 18.8%)
CIE-LABlab(79.33, -25.16, 63.31)
CIE-LCHlch(79.33, 68.13, 111.67°)
OKLaboklab(81.31% -0.0745 0.1427)
OKLCHoklch(81.31% 0.161 117.6)
XYZxyz(43.6376, 55.4949, 14.0418)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACF45 #5A45CF
analogous
#CF9F45 #BACF45 #75CF45
triadic
#BACF45 #45BACF #CF45BA
tetradic
#BACF45 #45CF9F #5A45CF #CF4575
square
#BACF45 #45CF9F #5A45CF #CF4575
split-complementary
#BACF45 #4575CF #9F45CF
monochromatic
#6C7A20 #97AB2C #BACF45 #CCDC76 #DEE8A6

Accessibility & contrast

On white

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

On black

12.10
#BACF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACF45
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACF45#FFFFFF#000000##000000
##BACF451.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bacf45;
/* rgb */ color: rgb(186, 207, 69);
/* oklch */ color: oklch(81.3% 0.161 117.6);
Tailwind
colors: {
  custom: {
    50: '#d2dd80',
    500: '#bacf45',
    950: '#000000',
  },
}
SCSS
$custom: #bacf45;
$custom-light: #d2dd80;
$custom-dark: #000000;
JSON
{
  "hex": "#bacf45",
  "rgb": {
    "r": 186,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 69.13,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81313,
    "c": 0.16102,
    "h": 117.6
  },
  "luminance": 0.55494
}

Semantic roles & 50–950 ramp

primary
#BACF45
secondary
#423682
accent
#46E25D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BACF45

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

Preview Lab → · Contrast checker → · Palette generator →

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