#BAC256#BAC256

#BAC256 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.6% C 0.132 H 112.9°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#BAC256
RGBrgb(186, 194, 86)
HSLhsl(64, 47%, 55%)
HSVhsv(64, 56%, 76%)
CMYKcmyk(4.1%, 0%, 55.7%, 23.9%)
CIE-LABlab(75.88, -17.57, 52.39)
CIE-LCHlch(75.88, 55.26, 108.54°)
OKLaboklab(78.6% -0.0515 0.1218)
OKLCHoklch(78.6% 0.132 112.9)
XYZxyz(41.2221, 49.6953, 16.2229)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC256 #5E56C2
analogous
#C29456 #BAC256 #84C256
triadic
#BAC256 #56BAC2 #C256BA
tetradic
#BAC256 #56C294 #5E56C2 #C25684
square
#BAC256 #56C294 #5E56C2 #C25684
split-complementary
#BAC256 #5684C2 #9456C2
monochromatic
#6E742A #99A13A #BAC256 #CCD283 #DFE2B0

Accessibility & contrast

On white

1.92
#BAC256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#BAC256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC256
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC256#FFFFFF#000000##000000
##BAC2561.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4B
Deuteranopia (green-blind)
#CFBC5C
Tritanopia (blue-blind)
#C5B8AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac256;
/* rgb */ color: rgb(186, 194, 86);
/* oklch */ color: oklch(78.6% 0.132 112.9);
Tailwind
colors: {
  custom: {
    50: '#d1d489',
    500: '#bac256',
    950: '#000000',
  },
}
SCSS
$custom: #bac256;
$custom-light: #d1d489;
$custom-dark: #000000;
JSON
{
  "hex": "#bac256",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 64.444,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.786,
    "c": 0.13228,
    "h": 112.9
  },
  "luminance": 0.49695
}

Semantic roles & 50–950 ramp

primary
#BAC256
secondary
#A7A3D1
accent
#51D75B
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140C
muted
#83827D

Preview Lab

Preview with #BAC256

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

Preview Lab → · Contrast checker → · Palette generator →

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