#BAC158#BAC158

#BAC158 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.4% C 0.129 H 112.5°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#BAC158
RGBrgb(186, 193, 88)
HSLhsl(64, 46%, 55%)
HSVhsv(64, 54%, 76%)
CMYKcmyk(3.6%, 0%, 54.4%, 24.3%)
CIE-LABlab(75.63, -16.91, 51.18)
CIE-LCHlch(75.63, 53.90, 108.28°)
OKLaboklab(78.4% -0.0494 0.1195)
OKLCHoklch(78.4% 0.129 112.5)
XYZxyz(41.0820, 49.2844, 16.5793)
Luminance0.4928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC158 #5F58C1
analogous
#C19358 #BAC158 #85C158
triadic
#BAC158 #58BAC1 #C158BA
tetradic
#BAC158 #58C193 #5F58C1 #C15885
square
#BAC158 #58C193 #5F58C1 #C15885
split-complementary
#BAC158 #5885C1 #9358C1
monochromatic
#6F742B #9AA03C #BAC158 #CCD285 #DFE2B1

Accessibility & contrast

On white

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

On black

10.86
#BAC158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC158
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC158#FFFFFF#000000##000000
##BAC1581.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94D
Deuteranopia (green-blind)
#CEBC5E
Tritanopia (blue-blind)
#C5B7AA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac158;
/* rgb */ color: rgb(186, 193, 88);
/* oklch */ color: oklch(78.4% 0.129 112.5);
Tailwind
colors: {
  custom: {
    50: '#d1d38a',
    500: '#bac158',
    950: '#000000',
  },
}
SCSS
$custom: #bac158;
$custom-light: #d1d38a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac158",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 88
  },
  "hsl": {
    "h": 64,
    "s": 45.852,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78404,
    "c": 0.12928,
    "h": 112.5
  },
  "luminance": 0.49284
}

Semantic roles & 50–950 ramp

primary
#BAC158
secondary
#A7A4D0
accent
#52D65B
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140C
muted
#83827D

Preview Lab

Preview with #BAC158

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

Preview Lab → · Contrast checker → · Palette generator →

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