#BAC459#BAC459

#BAC459 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.1% C 0.132 H 113.9°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#BAC459
RGBrgb(186, 196, 89)
HSLhsl(66, 48%, 56%)
HSVhsv(66, 55%, 77%)
CMYKcmyk(5.1%, 0%, 54.6%, 23.1%)
CIE-LABlab(76.46, -18.33, 51.67)
CIE-LCHlch(76.46, 54.83, 109.53°)
OKLaboklab(79.07% -0.0534 0.1206)
OKLCHoklch(79.07% 0.132 113.9)
XYZxyz(41.7936, 50.6409, 17.0223)
Luminance0.5064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC459 #6359C4
analogous
#C49859 #BAC459 #84C459
triadic
#BAC459 #59BAC4 #C459BA
tetradic
#BAC459 #59C498 #6359C4 #C45984
square
#BAC459 #59C498 #6359C4 #C45984
split-complementary
#BAC459 #5984C4 #9859C4
monochromatic
#71782B #9BA53B #BAC459 #CDD486 #E0E4B3

Accessibility & contrast

On white

1.89
#BAC459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#BAC459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC459
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC459#FFFFFF#000000##000000
##BAC4591.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4E
Deuteranopia (green-blind)
#D0BE5F
Tritanopia (blue-blind)
#C5BAAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac459;
/* rgb */ color: rgb(186, 196, 89);
/* oklch */ color: oklch(79.1% 0.132 113.9);
Tailwind
colors: {
  custom: {
    50: '#d1d58b',
    500: '#bac459',
    950: '#000000',
  },
}
SCSS
$custom: #bac459;
$custom-light: #d1d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac459",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 65.607,
    "s": 47.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79073,
    "c": 0.1319,
    "h": 113.9
  },
  "luminance": 0.5064
}

Semantic roles & 50–950 ramp

primary
#BAC459
secondary
#464081
accent
#51D75D
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC459

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

Preview Lab → · Contrast checker → · Palette generator →

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