#BAC747#BAC747

#BAC747 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.6% C 0.150 H 114.8°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#BAC747
RGBrgb(186, 199, 71)
HSLhsl(66, 53%, 53%)
HSVhsv(66, 64%, 78%)
CMYKcmyk(6.5%, 0%, 64.3%, 22%)
CIE-LABlab(77.13, -21.14, 60.23)
CIE-LCHlch(77.13, 63.84, 109.34°)
OKLaboklab(79.55% -0.0631 0.1365)
OKLCHoklch(79.55% 0.15 114.8)
XYZxyz(41.8115, 51.7416, 13.7446)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC747 #5447C7
analogous
#C79447 #BAC747 #7AC747
triadic
#BAC747 #47BAC7 #C747BA
tetradic
#BAC747 #47C794 #5447C7 #C7477A
square
#BAC747 #47C794 #5447C7 #C7477A
split-complementary
#BAC747 #477AC7 #9447C7
monochromatic
#697122 #95A031 #BAC747 #CCD576 #DDE4A5

Accessibility & contrast

On white

1.85
#BAC747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#BAC747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC747
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC747#FFFFFF#000000##000000
##BAC7471.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD36
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#C5BCAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac747;
/* rgb */ color: rgb(186, 199, 71);
/* oklch */ color: oklch(79.6% 0.150 114.8);
Tailwind
colors: {
  custom: {
    50: '#d2d780',
    500: '#bac747',
    950: '#000000',
  },
}
SCSS
$custom: #bac747;
$custom-light: #d2d780;
$custom-dark: #000000;
JSON
{
  "hex": "#bac747",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 71
  },
  "hsl": {
    "h": 66.094,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79553,
    "c": 0.15043,
    "h": 114.8
  },
  "luminance": 0.51741
}

Semantic roles & 50–950 ramp

primary
#BAC747
secondary
#3F387A
accent
#4BDD5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC747

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

Preview Lab → · Contrast checker → · Palette generator →

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