#BAC455#BAC455

#BAC455 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.0% C 0.136 H 113.8°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#BAC455
RGBrgb(186, 196, 85)
HSLhsl(65, 48%, 55%)
HSVhsv(65, 57%, 77%)
CMYKcmyk(5.1%, 0%, 56.6%, 23.1%)
CIE-LABlab(76.42, -18.65, 53.45)
CIE-LCHlch(76.42, 56.61, 109.23°)
OKLaboklab(79.03% -0.0547 0.124)
OKLCHoklch(79.03% 0.136 113.8)
XYZxyz(41.6302, 50.5755, 16.1616)
Luminance0.5058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC455 #5F55C4
analogous
#C49655 #BAC455 #83C455
triadic
#BAC455 #55BAC4 #C455BA
tetradic
#BAC455 #55C496 #5F55C4 #C45583
square
#BAC455 #55C496 #5F55C4 #C45583
split-complementary
#BAC455 #5583C4 #9655C4
monochromatic
#6F7629 #9AA339 #BAC455 #CCD482 #DFE4B0

Accessibility & contrast

On white

1.89
#BAC455 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#BAC455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC455
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC455#FFFFFF#000000##000000
##BAC4551.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB49
Deuteranopia (green-blind)
#D1BE5C
Tritanopia (blue-blind)
#C5BAAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bac455;
/* rgb */ color: rgb(186, 196, 85);
/* oklch */ color: oklch(79.0% 0.136 113.8);
Tailwind
colors: {
  custom: {
    50: '#d1d589',
    500: '#bac455',
    950: '#000000',
  },
}
SCSS
$custom: #bac455;
$custom-light: #d1d589;
$custom-dark: #000000;
JSON
{
  "hex": "#bac455",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 85
  },
  "hsl": {
    "h": 65.405,
    "s": 48.472,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79028,
    "c": 0.13552,
    "h": 113.8
  },
  "luminance": 0.50575
}

Semantic roles & 50–950 ramp

primary
#BAC455
secondary
#443F7F
accent
#50D85C
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC455

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

Preview Lab → · Contrast checker → · Palette generator →

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