#BAC555#BAC555

#BAC555 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.2% C 0.137 H 114.2°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#BAC555
RGBrgb(186, 197, 85)
HSLhsl(66, 49%, 55%)
HSVhsv(66, 57%, 77%)
CMYKcmyk(5.6%, 0%, 56.9%, 22.7%)
CIE-LABlab(76.70, -19.15, 53.76)
CIE-LCHlch(76.70, 57.07, 109.60°)
OKLaboklab(79.25% -0.0561 0.1247)
OKLCHoklch(79.25% 0.137 114.2)
XYZxyz(41.8565, 51.0282, 16.2370)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC555 #6055C5
analogous
#C59855 #BAC555 #82C555
triadic
#BAC555 #55BAC5 #C555BA
tetradic
#BAC555 #55C598 #6055C5 #C55582
square
#BAC555 #55C598 #6055C5 #C55582
split-complementary
#BAC555 #5582C5 #9855C5
monochromatic
#6F7729 #9AA538 #BAC555 #CDD583 #DFE4B0

Accessibility & contrast

On white

1.87
#BAC555 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#BAC555 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC555
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC555#FFFFFF#000000##000000
##BAC5551.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC49
Deuteranopia (green-blind)
#D1BE5C
Tritanopia (blue-blind)
#C5BBAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac555;
/* rgb */ color: rgb(186, 197, 85);
/* oklch */ color: oklch(79.2% 0.137 114.2);
Tailwind
colors: {
  custom: {
    50: '#d1d689',
    500: '#bac555',
    950: '#000000',
  },
}
SCSS
$custom: #bac555;
$custom-light: #d1d689;
$custom-dark: #000000;
JSON
{
  "hex": "#bac555",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 85
  },
  "hsl": {
    "h": 65.893,
    "s": 49.123,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79248,
    "c": 0.13669,
    "h": 114.2
  },
  "luminance": 0.51027
}

Semantic roles & 50–950 ramp

primary
#BAC555
secondary
#453E80
accent
#4FD95D
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC555

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

Preview Lab → · Contrast checker → · Palette generator →

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