#BAC166#BAC166

#BAC166 is a light, moderate yellow. Relative luminance 0.495; OKLCH L 78.6% C 0.116 H 112.6°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#BAC166
RGBrgb(186, 193, 102)
HSLhsl(65, 42%, 58%)
HSVhsv(65, 47%, 76%)
CMYKcmyk(3.6%, 0%, 47.2%, 24.3%)
CIE-LABlab(75.79, -15.64, 44.69)
CIE-LCHlch(75.79, 47.35, 109.29°)
OKLaboklab(78.58% -0.0445 0.1066)
OKLCHoklch(78.58% 0.116 112.6)
XYZxyz(41.7186, 49.5390, 19.9321)
Luminance0.4954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC166 #6D66C1
analogous
#C19A66 #BAC166 #8DC166
triadic
#BAC166 #66BAC1 #C166BA
tetradic
#BAC166 #66C19A #6D66C1 #C1668D
square
#BAC166 #66C19A #6D66C1 #C1668D
split-complementary
#BAC166 #668DC1 #9A66C1
monochromatic
#757B32 #9FA643 #BAC166 #CED392 #E1E4BD

Accessibility & contrast

On white

1.93
#BAC166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#BAC166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC166
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC166#FFFFFF#000000##000000
##BAC1661.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBA5E
Deuteranopia (green-blind)
#CDBC6B
Tritanopia (blue-blind)
#C4B8AC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac166;
/* rgb */ color: rgb(186, 193, 102);
/* oklch */ color: oklch(78.6% 0.116 112.6);
Tailwind
colors: {
  custom: {
    50: '#d0d394',
    500: '#bac166',
    950: '#000000',
  },
}
SCSS
$custom: #bac166;
$custom-light: #d0d394;
$custom-dark: #000000;
JSON
{
  "hex": "#bac166",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 64.615,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.7858,
    "c": 0.11551,
    "h": 112.6
  },
  "luminance": 0.49538
}

Semantic roles & 50–950 ramp

primary
#BAC166
secondary
#B2AFD4
accent
#56D25F
background
#FDFCF9
surface
#FAF9F1
border
#D3D2CB
text
#14140D
muted
#83827E

Preview Lab

Preview with #BAC166

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

Preview Lab → · Contrast checker → · Palette generator →

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