#BAC956#BAC956

#BAC956 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.1% C 0.141 H 115.9°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#BAC956
RGBrgb(186, 201, 86)
HSLhsl(68, 52%, 56%)
HSVhsv(68, 57%, 79%)
CMYKcmyk(7.5%, 0%, 57.2%, 21.2%)
CIE-LABlab(77.81, -21.05, 54.56)
CIE-LCHlch(77.81, 58.48, 111.10°)
OKLaboklab(80.14% -0.0614 0.1265)
OKLCHoklch(80.14% 0.141 115.9)
XYZxyz(42.8169, 52.8848, 16.7545)
Luminance0.5288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC956 #6556C9
analogous
#C99F56 #BAC956 #81C956
triadic
#BAC956 #56BAC9 #C956BA
tetradic
#BAC956 #56C99F #6556C9 #C95681
square
#BAC956 #56C99F #6556C9 #C95681
split-complementary
#BAC956 #5681C9 #9F56C9
monochromatic
#727D28 #9CAB37 #BAC956 #CDD884 #E0E7B3

Accessibility & contrast

On white

1.81
#BAC956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#BAC956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC956
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC956#FFFFFF#000000##000000
##BAC9561.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#D4C15D
Tritanopia (blue-blind)
#C4BFB0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac956;
/* rgb */ color: rgb(186, 201, 86);
/* oklch */ color: oklch(80.1% 0.141 115.9);
Tailwind
colors: {
  custom: {
    50: '#d1d98a',
    500: '#bac956',
    950: '#000000',
  },
}
SCSS
$custom: #bac956;
$custom-light: #d1d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac956",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 67.826,
    "s": 51.57,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8014,
    "c": 0.14058,
    "h": 115.9
  },
  "luminance": 0.52884
}

Semantic roles & 50–950 ramp

primary
#BAC956
secondary
#483E85
accent
#4DDB5F
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC956

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

Preview Lab → · Contrast checker → · Palette generator →

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