#BAC558#BAC558

#BAC558 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.3% C 0.134 H 114.3°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#BAC558
RGBrgb(186, 197, 88)
HSLhsl(66, 48%, 56%)
HSVhsv(66, 55%, 77%)
CMYKcmyk(5.6%, 0%, 55.3%, 22.7%)
CIE-LABlab(76.73, -18.91, 52.44)
CIE-LCHlch(76.73, 55.74, 109.83°)
OKLaboklab(79.28% -0.0551 0.1222)
OKLCHoklch(79.28% 0.134 114.3)
XYZxyz(41.9782, 51.0769, 16.8781)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC558 #6358C5
analogous
#C59958 #BAC558 #83C558
triadic
#BAC558 #58BAC5 #C558BA
tetradic
#BAC558 #58C599 #6358C5 #C55883
square
#BAC558 #58C599 #6358C5 #C55883
split-complementary
#BAC558 #5883C5 #9958C5
monochromatic
#71792A #9BA63A #BAC558 #CDD585 #E0E5B3

Accessibility & contrast

On white

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

On black

11.22
#BAC558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC558
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC558#FFFFFF#000000##000000
##BAC5581.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac558;
/* rgb */ color: rgb(186, 197, 88);
/* oklch */ color: oklch(79.3% 0.134 114.3);
Tailwind
colors: {
  custom: {
    50: '#d1d68b',
    500: '#bac558',
    950: '#000000',
  },
}
SCSS
$custom: #bac558;
$custom-light: #d1d68b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac558",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 66.055,
    "s": 48.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79281,
    "c": 0.13401,
    "h": 114.3
  },
  "luminance": 0.51076
}

Semantic roles & 50–950 ramp

primary
#BAC558
secondary
#464081
accent
#50D85E
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC558

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

Preview Lab → · Contrast checker → · Palette generator →

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