#BAC149#BAC149

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

Color values

HEX#BAC149
RGBrgb(186, 193, 73)
HSLhsl(64, 49%, 52%)
HSVhsv(64, 62%, 76%)
CMYKcmyk(3.6%, 0%, 62.2%, 24.3%)
CIE-LABlab(75.49, -18.03, 57.67)
CIE-LCHlch(75.49, 60.43, 107.36°)
OKLaboklab(78.25% -0.0542 0.1314)
OKLCHoklch(78.25% 0.142 112.4)
XYZxyz(40.5233, 49.0609, 13.6371)
Luminance0.4906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC149 #5049C1
analogous
#C18C49 #BAC149 #7EC149
triadic
#BAC149 #49BAC1 #C149BA
tetradic
#BAC149 #49C18C #5049C1 #C1497E
square
#BAC149 #49C18C #5049C1 #C1497E
split-complementary
#BAC149 #497EC1 #8C49C1
monochromatic
#676B24 #939934 #BAC149 #CBD177 #DDE0A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC149#FFFFFF#000000##000000
##BAC1491.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)
#CFB83A
Deuteranopia (green-blind)
#CFBB51
Tritanopia (blue-blind)
#C6B6A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac149;
/* rgb */ color: rgb(186, 193, 73);
/* oklch */ color: oklch(78.2% 0.142 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d381',
    500: '#bac149',
    950: '#000000',
  },
}
SCSS
$custom: #bac149;
$custom-light: #d1d381;
$custom-dark: #000000;
JSON
{
  "hex": "#bac149",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 73
  },
  "hsl": {
    "h": 63.5,
    "s": 49.18,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78248,
    "c": 0.14216,
    "h": 112.4
  },
  "luminance": 0.4906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAC149

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

Preview Lab → · Contrast checker → · Palette generator →

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