#BAC755#BAC755

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

Color values

HEX#BAC755
RGBrgb(186, 199, 85)
HSLhsl(67, 50%, 56%)
HSVhsv(67, 57%, 78%)
CMYKcmyk(6.5%, 0%, 57.3%, 22%)
CIE-LABlab(77.25, -20.14, 54.38)
CIE-LCHlch(77.25, 57.99, 110.32°)
OKLaboklab(79.69% -0.0589 0.126)
OKLCHoklch(79.69% 0.139 115.1)
XYZxyz(42.3137, 51.9425, 16.3894)
Luminance0.5194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC755 #6255C7
analogous
#C79B55 #BAC755 #81C755
triadic
#BAC755 #55BAC7 #C755BA
tetradic
#BAC755 #55C79B #6255C7 #C75581
square
#BAC755 #55C79B #6255C7 #C75581
split-complementary
#BAC755 #5581C7 #9B55C7
monochromatic
#707A28 #9BA837 #BAC755 #CDD683 #DFE5B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC755#FFFFFF#000000##000000
##BAC7551.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)
#D4BE49
Deuteranopia (green-blind)
#D3C05C
Tritanopia (blue-blind)
#C5BDAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac755;
/* rgb */ color: rgb(186, 199, 85);
/* oklch */ color: oklch(79.7% 0.139 115.1);
Tailwind
colors: {
  custom: {
    50: '#d1d789',
    500: '#bac755',
    950: '#000000',
  },
}
SCSS
$custom: #bac755;
$custom-light: #d1d789;
$custom-dark: #000000;
JSON
{
  "hex": "#bac755",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 85
  },
  "hsl": {
    "h": 66.842,
    "s": 50.442,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79688,
    "c": 0.13906,
    "h": 115.1
  },
  "luminance": 0.51942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAC755

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

Preview Lab → · Contrast checker → · Palette generator →

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