#BAC64D#BAC64D

#BAC64D is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.4% C 0.145 H 114.5°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#BAC64D
RGBrgb(186, 198, 77)
HSLhsl(66, 51%, 54%)
HSVhsv(66, 61%, 78%)
CMYKcmyk(6.1%, 0%, 61.1%, 22.4%)
CIE-LABlab(76.90, -20.24, 57.49)
CIE-LCHlch(76.90, 60.95, 109.40°)
OKLaboklab(79.39% -0.06 0.1316)
OKLCHoklch(79.39% 0.145 114.5)
XYZxyz(41.7843, 51.3638, 14.7328)
Luminance0.5136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC64D #594DC6
analogous
#C6964D #BAC64D #7EC64D
triadic
#BAC64D #4DBAC6 #C64DBA
tetradic
#BAC64D #4DC696 #594DC6 #C64D7E
square
#BAC64D #4DC696 #594DC6 #C64D7E
split-complementary
#BAC64D #4D7EC6 #964DC6
monochromatic
#6C7425 #97A234 #BAC64D #CCD57B #DEE4AA

Accessibility & contrast

On white

1.86
#BAC64D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#BAC64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC64D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC64D#FFFFFF#000000##000000
##BAC64D1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD3F
Deuteranopia (green-blind)
#D3BF55
Tritanopia (blue-blind)
#C5BBAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac64d;
/* rgb */ color: rgb(186, 198, 77);
/* oklch */ color: oklch(79.4% 0.145 114.5);
Tailwind
colors: {
  custom: {
    50: '#d1d784',
    500: '#bac64d',
    950: '#000000',
  },
}
SCSS
$custom: #bac64d;
$custom-light: #d1d784;
$custom-dark: #000000;
JSON
{
  "hex": "#bac64d",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 77
  },
  "hsl": {
    "h": 65.95,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79387,
    "c": 0.14462,
    "h": 114.5
  },
  "luminance": 0.51363
}

Semantic roles & 50–950 ramp

primary
#BAC64D
secondary
#413B7D
accent
#4DDB5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC64D

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

Preview Lab → · Contrast checker → · Palette generator →

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