#BAC147#BAC147

#BAC147 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.2% C 0.144 H 112.4°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#BAC147
RGBrgb(186, 193, 71)
HSLhsl(63, 50%, 52%)
HSVhsv(63, 63%, 76%)
CMYKcmyk(3.6%, 0%, 63.2%, 24.3%)
CIE-LABlab(75.47, -18.16, 58.49)
CIE-LCHlch(75.47, 61.25, 107.25°)
OKLaboklab(78.23% -0.0548 0.1329)
OKLCHoklch(78.23% 0.144 112.4)
XYZxyz(40.4581, 49.0348, 13.2934)
Luminance0.4903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC147 #4E47C1
analogous
#C18B47 #BAC147 #7DC147
triadic
#BAC147 #47BAC1 #C147BA
tetradic
#BAC147 #47C18B #4E47C1 #C1477D
square
#BAC147 #47C18B #4E47C1 #C1477D
split-complementary
#BAC147 #477DC1 #8B47C1
monochromatic
#666A24 #929833 #BAC147 #CBD075 #DCE0A3

Accessibility & contrast

On white

1.94
#BAC147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#BAC147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC147
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC147#FFFFFF#000000##000000
##BAC1471.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB837
Deuteranopia (green-blind)
#CFBB4F
Tritanopia (blue-blind)
#C6B6A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac147;
/* rgb */ color: rgb(186, 193, 71);
/* oklch */ color: oklch(78.2% 0.144 112.4);
Tailwind
colors: {
  custom: {
    50: '#d2d380',
    500: '#bac147',
    950: '#000000',
  },
}
SCSS
$custom: #bac147;
$custom-light: #d2d380;
$custom-dark: #000000;
JSON
{
  "hex": "#bac147",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 71
  },
  "hsl": {
    "h": 63.443,
    "s": 49.593,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7823,
    "c": 0.14372,
    "h": 112.4
  },
  "luminance": 0.49034
}

Semantic roles & 50–950 ramp

primary
#BAC147
secondary
#9A97CD
accent
#4FD957
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #BAC147

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

Preview Lab → · Contrast checker → · Palette generator →

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