#BAC440#BAC440

#BAC440 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.8% C 0.152 H 113.6°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#BAC440
RGBrgb(186, 196, 64)
HSLhsl(65, 53%, 51%)
HSVhsv(65, 67%, 77%)
CMYKcmyk(5.1%, 0%, 67.3%, 23.1%)
CIE-LABlab(76.25, -20.08, 62.10)
CIE-LCHlch(76.25, 65.27, 107.92°)
OKLaboklab(78.83% -0.0609 0.1394)
OKLCHoklch(78.83% 0.152 113.6)
XYZxyz(40.9162, 50.2899, 12.4010)
Luminance0.5029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC440 #4A40C4
analogous
#C48C40 #BAC440 #78C440
triadic
#BAC440 #40BAC4 #C440BA
tetradic
#BAC440 #40C48C #4A40C4 #C44078
square
#BAC440 #40C48C #4A40C4 #C44078
split-complementary
#BAC440 #4078C4 #8C40C4
monochromatic
#646920 #90982F #BAC440 #CBD26F #DCE19E

Accessibility & contrast

On white

1.90
#BAC440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#BAC440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC440
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC440#FFFFFF#000000##000000
##BAC4401.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2C
Deuteranopia (green-blind)
#D2BD4A
Tritanopia (blue-blind)
#C6B9AA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bac440;
/* rgb */ color: rgb(186, 196, 64);
/* oklch */ color: oklch(78.8% 0.152 113.6);
Tailwind
colors: {
  custom: {
    50: '#d2d57c',
    500: '#bac440',
    950: '#000000',
  },
}
SCSS
$custom: #bac440;
$custom-light: #d2d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#bac440",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 64
  },
  "hsl": {
    "h": 64.545,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78833,
    "c": 0.15212,
    "h": 113.6
  },
  "luminance": 0.50289
}

Semantic roles & 50–950 ramp

primary
#BAC440
secondary
#3A3573
accent
#4CDC57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC440

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

Preview Lab → · Contrast checker → · Palette generator →

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