#BAC047#BAC047

#BAC047 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.0% C 0.143 H 112.0°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#BAC047
RGBrgb(186, 192, 71)
HSLhsl(63, 49%, 52%)
HSVhsv(63, 63%, 75%)
CMYKcmyk(3.1%, 0%, 63%, 24.7%)
CIE-LABlab(75.20, -17.66, 58.20)
CIE-LCHlch(75.20, 60.82, 106.88°)
OKLaboklab(78.01% -0.0534 0.1323)
OKLCHoklch(78.01% 0.143 112)
XYZxyz(40.2378, 48.5942, 13.2200)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC047 #4D47C0
analogous
#C08A47 #BAC047 #7EC047
triadic
#BAC047 #47BAC0 #C047BA
tetradic
#BAC047 #47C08A #4D47C0 #C0477E
square
#BAC047 #47C08A #4D47C0 #C0477E
split-complementary
#BAC047 #477EC0 #8A47C0
monochromatic
#656924 #919633 #BAC047 #CBD075 #DCDFA2

Accessibility & contrast

On white

1.96
#BAC047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#BAC047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC047
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC047#FFFFFF#000000##000000
##BAC0471.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB838
Deuteranopia (green-blind)
#CEBB4F
Tritanopia (blue-blind)
#C6B5A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac047;
/* rgb */ color: rgb(186, 192, 71);
/* oklch */ color: oklch(78.0% 0.143 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d280',
    500: '#bac047',
    950: '#000000',
  },
}
SCSS
$custom: #bac047;
$custom-light: #d2d280;
$custom-dark: #000000;
JSON
{
  "hex": "#bac047",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 71
  },
  "hsl": {
    "h": 62.975,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7801,
    "c": 0.14262,
    "h": 112
  },
  "luminance": 0.48593
}

Semantic roles & 50–950 ramp

primary
#BAC047
secondary
#9997CC
accent
#4FD956
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #BAC047

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

Preview Lab → · Contrast checker → · Palette generator →

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