#BAC155#BAC155

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

Color values

HEX#BAC155
RGBrgb(186, 193, 85)
HSLhsl(64, 47%, 55%)
HSVhsv(64, 56%, 76%)
CMYKcmyk(3.6%, 0%, 56%, 24.3%)
CIE-LABlab(75.60, -17.15, 52.52)
CIE-LCHlch(75.60, 55.25, 108.08°)
OKLaboklab(78.37% -0.0504 0.122)
OKLCHoklch(78.37% 0.132 112.5)
XYZxyz(40.9603, 49.2357, 15.9383)
Luminance0.4924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC155 #5C55C1
analogous
#C19255 #BAC155 #84C155
triadic
#BAC155 #55BAC1 #C155BA
tetradic
#BAC155 #55C192 #5C55C1 #C15584
square
#BAC155 #55C192 #5C55C1 #C15584
split-complementary
#BAC155 #5584C1 #9255C1
monochromatic
#6D722A #989F3A #BAC155 #CCD182 #DEE2AF

Accessibility & contrast

On white

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

On black

10.85
#BAC155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC155
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC155#FFFFFF#000000##000000
##BAC1551.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94A
Deuteranopia (green-blind)
#CEBC5B
Tritanopia (blue-blind)
#C5B7A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac155;
/* rgb */ color: rgb(186, 193, 85);
/* oklch */ color: oklch(78.4% 0.132 112.5);
Tailwind
colors: {
  custom: {
    50: '#d1d388',
    500: '#bac155',
    950: '#000000',
  },
}
SCSS
$custom: #bac155;
$custom-light: #d1d388;
$custom-dark: #000000;
JSON
{
  "hex": "#bac155",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 63.889,
    "s": 46.552,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7837,
    "c": 0.13202,
    "h": 112.5
  },
  "luminance": 0.49235
}

Semantic roles & 50–950 ramp

primary
#BAC155
secondary
#A5A2D0
accent
#52D65A
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140C
muted
#83827D

Preview Lab

Preview with #BAC155

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

Preview Lab → · Contrast checker → · Palette generator →

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