#BAC960#BAC960

#BAC960 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.3% C 0.131 H 116.2°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#BAC960
RGBrgb(186, 201, 96)
HSLhsl(69, 49%, 58%)
HSVhsv(69, 52%, 79%)
CMYKcmyk(7.5%, 0%, 52.2%, 21.2%)
CIE-LABlab(77.91, -20.21, 50.10)
CIE-LCHlch(77.91, 54.02, 111.97°)
OKLaboklab(80.26% -0.058 0.1179)
OKLCHoklch(80.26% 0.131 116.2)
XYZxyz(43.2483, 53.0574, 19.0269)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC960 #6F60C9
analogous
#C9A360 #BAC960 #85C960
triadic
#BAC960 #60BAC9 #C960BA
tetradic
#BAC960 #60C9A3 #6F60C9 #C96085
square
#BAC960 #60C9A3 #6F60C9 #C96085
split-complementary
#BAC960 #6085C9 #A360C9
monochromatic
#76822C #9FB03C #BAC960 #CED98E #E2E8BB

Accessibility & contrast

On white

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

On black

11.61
#BAC960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC960
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC960#FFFFFF#000000##000000
##BAC9601.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C056
Deuteranopia (green-blind)
#D4C166
Tritanopia (blue-blind)
#C4BFB1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bac960;
/* rgb */ color: rgb(186, 201, 96);
/* oklch */ color: oklch(80.3% 0.131 116.2);
Tailwind
colors: {
  custom: {
    50: '#d1d990',
    500: '#bac960',
    950: '#000000',
  },
}
SCSS
$custom: #bac960;
$custom-light: #d1d990;
$custom-dark: #000000;
JSON
{
  "hex": "#bac960",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 68.571,
    "s": 49.296,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80255,
    "c": 0.13141,
    "h": 116.2
  },
  "luminance": 0.53057
}

Semantic roles & 50–950 ramp

primary
#BAC960
secondary
#4D438A
accent
#4FD963
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC960

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

Preview Lab → · Contrast checker → · Palette generator →

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