#BAC059#BAC059

#BAC059 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.2% C 0.127 H 112.0°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#BAC059
RGBrgb(186, 192, 89)
HSLhsl(63, 45%, 55%)
HSVhsv(63, 54%, 75%)
CMYKcmyk(3.1%, 0%, 53.6%, 24.7%)
CIE-LABlab(75.36, -16.32, 50.41)
CIE-LCHlch(75.36, 52.99, 107.94°)
OKLaboklab(78.2% -0.0477 0.1179)
OKLCHoklch(78.2% 0.127 112)
XYZxyz(40.9034, 48.8605, 16.7255)
Luminance0.4886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC059 #5F59C0
analogous
#C09259 #BAC059 #87C059
triadic
#BAC059 #59BAC0 #C059BA
tetradic
#BAC059 #59C092 #5F59C0 #C05987
square
#BAC059 #59C092 #5F59C0 #C05987
split-complementary
#BAC059 #5987C0 #9259C0
monochromatic
#6F732C #9A9F3C #BAC059 #CCD185 #DFE2B2

Accessibility & contrast

On white

1.95
#BAC059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#BAC059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC059
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC059#FFFFFF#000000##000000
##BAC0591.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84F
Deuteranopia (green-blind)
#CDBB5F
Tritanopia (blue-blind)
#C5B6A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac059;
/* rgb */ color: rgb(186, 192, 89);
/* oklch */ color: oklch(78.2% 0.127 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d28b',
    500: '#bac059',
    950: '#000000',
  },
}
SCSS
$custom: #bac059;
$custom-light: #d1d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac059",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 63.495,
    "s": 44.978,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78197,
    "c": 0.12719,
    "h": 112
  },
  "luminance": 0.4886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAC059

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

Preview Lab → · Contrast checker → · Palette generator →

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