#BAC754#BAC754

#BAC754 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.7% C 0.140 H 115.0°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#BAC754
RGBrgb(186, 199, 84)
HSLhsl(67, 51%, 55%)
HSVhsv(67, 58%, 78%)
CMYKcmyk(6.5%, 0%, 57.8%, 22%)
CIE-LABlab(77.24, -20.22, 54.82)
CIE-LCHlch(77.24, 58.43, 110.25°)
OKLaboklab(79.68% -0.0592 0.1268)
OKLCHoklch(79.68% 0.14 115)
XYZxyz(42.2742, 51.9267, 16.1817)
Luminance0.5193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC754 #6154C7
analogous
#C79B54 #BAC754 #80C754
triadic
#BAC754 #54BAC7 #C754BA
tetradic
#BAC754 #54C79B #6154C7 #C75480
square
#BAC754 #54C79B #6154C7 #C75480
split-complementary
#BAC754 #5480C7 #9B54C7
monochromatic
#707928 #9AA737 #BAC754 #CDD682 #DFE5B0

Accessibility & contrast

On white

1.84
#BAC754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#BAC754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC754
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC754#FFFFFF#000000##000000
##BAC7541.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE47
Deuteranopia (green-blind)
#D3C05B
Tritanopia (blue-blind)
#C5BDAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac754;
/* rgb */ color: rgb(186, 199, 84);
/* oklch */ color: oklch(79.7% 0.140 115.0);
Tailwind
colors: {
  custom: {
    50: '#d1d788',
    500: '#bac754',
    950: '#000000',
  },
}
SCSS
$custom: #bac754;
$custom-light: #d1d788;
$custom-dark: #000000;
JSON
{
  "hex": "#bac754",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 66.783,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79678,
    "c": 0.13993,
    "h": 115
  },
  "luminance": 0.51926
}

Semantic roles & 50–950 ramp

primary
#BAC754
secondary
#453E82
accent
#4EDA5E
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC754

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

Preview Lab → · Contrast checker → · Palette generator →

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