#BAC456#BAC456

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

Color values

HEX#BAC456
RGBrgb(186, 196, 86)
HSLhsl(65, 48%, 55%)
HSVhsv(65, 56%, 77%)
CMYKcmyk(5.1%, 0%, 56.1%, 23.1%)
CIE-LABlab(76.43, -18.57, 53.01)
CIE-LCHlch(76.43, 56.17, 109.31°)
OKLaboklab(79.04% -0.0544 0.1232)
OKLCHoklch(79.04% 0.135 113.8)
XYZxyz(41.6702, 50.5916, 16.3723)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC456 #6056C4
analogous
#C49756 #BAC456 #83C456
triadic
#BAC456 #56BAC4 #C456BA
tetradic
#BAC456 #56C497 #6056C4 #C45683
square
#BAC456 #56C497 #6056C4 #C45683
split-complementary
#BAC456 #5683C4 #9756C4
monochromatic
#6F7629 #9AA439 #BAC456 #CDD483 #DFE4B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC456#FFFFFF#000000##000000
##BAC4561.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)
#D1BB4B
Deuteranopia (green-blind)
#D1BE5C
Tritanopia (blue-blind)
#C5BAAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac456;
/* rgb */ color: rgb(186, 196, 86);
/* oklch */ color: oklch(79.0% 0.135 113.8);
Tailwind
colors: {
  custom: {
    50: '#d1d589',
    500: '#bac456',
    950: '#000000',
  },
}
SCSS
$custom: #bac456;
$custom-light: #d1d589;
$custom-dark: #000000;
JSON
{
  "hex": "#bac456",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 65.455,
    "s": 48.246,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79039,
    "c": 0.13463,
    "h": 113.8
  },
  "luminance": 0.50591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAC456

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

Preview Lab → · Contrast checker → · Palette generator →

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