#BAC159#BAC159

#BAC159 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.4% C 0.128 H 112.5°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#BAC159
RGBrgb(186, 193, 89)
HSLhsl(64, 46%, 55%)
HSVhsv(64, 54%, 76%)
CMYKcmyk(3.6%, 0%, 53.9%, 24.3%)
CIE-LABlab(75.64, -16.82, 50.73)
CIE-LCHlch(75.64, 53.45, 108.35°)
OKLaboklab(78.42% -0.0491 0.1186)
OKLCHoklch(78.42% 0.128 112.5)
XYZxyz(41.1237, 49.3011, 16.7990)
Luminance0.4930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC159 #6059C1
analogous
#C19459 #BAC159 #86C159
triadic
#BAC159 #59BAC1 #C159BA
tetradic
#BAC159 #59C194 #6059C1 #C15986
square
#BAC159 #59C194 #6059C1 #C15986
split-complementary
#BAC159 #5986C1 #9459C1
monochromatic
#6F742B #9AA13C #BAC159 #CDD286 #DFE2B2

Accessibility & contrast

On white

1.93
#BAC159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#BAC159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC159
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC159#FFFFFF#000000##000000
##BAC1591.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94F
Deuteranopia (green-blind)
#CEBC5F
Tritanopia (blue-blind)
#C5B7AA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac159;
/* rgb */ color: rgb(186, 193, 89);
/* oklch */ color: oklch(78.4% 0.128 112.5);
Tailwind
colors: {
  custom: {
    50: '#d1d38b',
    500: '#bac159',
    950: '#000000',
  },
}
SCSS
$custom: #bac159;
$custom-light: #d1d38b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac159",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 64.038,
    "s": 45.614,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78415,
    "c": 0.12836,
    "h": 112.5
  },
  "luminance": 0.493
}

Semantic roles & 50–950 ramp

primary
#BAC159
secondary
#A8A5D1
accent
#53D55B
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140C
muted
#83827D

Preview Lab

Preview with #BAC159

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

Preview Lab → · Contrast checker → · Palette generator →

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