#BAC759#BAC759

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

Color values

HEX#BAC759
RGBrgb(186, 199, 89)
HSLhsl(67, 50%, 56%)
HSVhsv(67, 55%, 78%)
CMYKcmyk(6.5%, 0%, 55.3%, 22%)
CIE-LABlab(77.29, -19.82, 52.62)
CIE-LCHlch(77.29, 56.23, 110.64°)
OKLaboklab(79.73% -0.0576 0.1227)
OKLCHoklch(79.73% 0.135 115.1)
XYZxyz(42.4771, 52.0078, 17.2501)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC759 #6659C7
analogous
#C79D59 #BAC759 #83C759
triadic
#BAC759 #59BAC7 #C759BA
tetradic
#BAC759 #59C79D #6659C7 #C75983
square
#BAC759 #59C79D #6659C7 #C75983
split-complementary
#BAC759 #5983C7 #9D59C7
monochromatic
#727C2A #9CAA39 #BAC759 #CDD687 #E0E6B5

Accessibility & contrast

On white

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

On black

11.40
#BAC759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC759
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC759#FFFFFF#000000##000000
##BAC7591.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4E
Deuteranopia (green-blind)
#D3C05F
Tritanopia (blue-blind)
#C4BDAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac759;
/* rgb */ color: rgb(186, 199, 89);
/* oklch */ color: oklch(79.7% 0.135 115.1);
Tailwind
colors: {
  custom: {
    50: '#d1d78b',
    500: '#bac759',
    950: '#000000',
  },
}
SCSS
$custom: #bac759;
$custom-light: #d1d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac759",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 89
  },
  "hsl": {
    "h": 67.091,
    "s": 49.55,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79732,
    "c": 0.13549,
    "h": 115.1
  },
  "luminance": 0.52007
}

Semantic roles & 50–950 ramp

primary
#BAC759
secondary
#484084
accent
#4FD95F
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC759

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

Preview Lab → · Contrast checker → · Palette generator →

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