#BAC866#BAC866

#BAC866 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.1% C 0.124 H 116.0°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#BAC866
RGBrgb(186, 200, 102)
HSLhsl(69, 47%, 59%)
HSVhsv(69, 49%, 78%)
CMYKcmyk(7%, 0%, 49%, 21.6%)
CIE-LABlab(77.70, -19.15, 47.00)
CIE-LCHlch(77.70, 50.75, 112.17°)
OKLaboklab(80.11% -0.0544 0.1117)
OKLCHoklch(80.11% 0.124 116)
XYZxyz(43.3028, 52.7075, 20.4602)
Luminance0.5271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC866 #7466C8
analogous
#C8A566 #BAC866 #89C866
triadic
#BAC866 #66BAC8 #C866BA
tetradic
#BAC866 #66C8A5 #7466C8 #C86689
square
#BAC866 #66C8A5 #7466C8 #C86689
split-complementary
#BAC866 #6689C8 #A566C8
monochromatic
#78842F #A1B140 #BAC866 #CED893 #E3E8C0

Accessibility & contrast

On white

1.82
#BAC866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#BAC866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC866
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC866#FFFFFF#000000##000000
##BAC8661.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF5D
Deuteranopia (green-blind)
#D2C16B
Tritanopia (blue-blind)
#C3BFB1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac866;
/* rgb */ color: rgb(186, 200, 102);
/* oklch */ color: oklch(80.1% 0.124 116.0);
Tailwind
colors: {
  custom: {
    50: '#d0d894',
    500: '#bac866',
    950: '#000000',
  },
}
SCSS
$custom: #bac866;
$custom-light: #d0d894;
$custom-dark: #000000;
JSON
{
  "hex": "#bac866",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 68.571,
    "s": 47.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80111,
    "c": 0.12425,
    "h": 116
  },
  "luminance": 0.52707
}

Semantic roles & 50–950 ramp

primary
#BAC866
secondary
#50468C
accent
#51D764
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC866

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

Preview Lab → · Contrast checker → · Palette generator →

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