#BACB59#BACB59

#BACB59 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.6% C 0.140 H 116.7°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#BACB59
RGBrgb(186, 203, 89)
HSLhsl(69, 52%, 57%)
HSVhsv(69, 56%, 80%)
CMYKcmyk(8.4%, 0%, 56.2%, 20.4%)
CIE-LABlab(78.39, -21.79, 53.87)
CIE-LCHlch(78.39, 58.11, 112.02°)
OKLaboklab(80.62% -0.0631 0.1253)
OKLCHoklch(80.62% 0.14 116.7)
XYZxyz(43.4095, 53.8727, 17.5609)
Luminance0.5387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACB59 #6A59CB
analogous
#CBA359 #BACB59 #81CB59
triadic
#BACB59 #59BACB #CB59BA
tetradic
#BACB59 #59CBA3 #6A59CB #CB5981
square
#BACB59 #59CBA3 #6A59CB #CB5981
split-complementary
#BACB59 #5981CB #A359CB
monochromatic
#748128 #9EB037 #BACB59 #CDDA88 #E1E8B6

Accessibility & contrast

On white

1.78
#BACB59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#BACB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACB59
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACB59#FFFFFF#000000##000000
##BACB591.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14D
Deuteranopia (green-blind)
#D6C360
Tritanopia (blue-blind)
#C4C1B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacb59;
/* rgb */ color: rgb(186, 203, 89);
/* oklch */ color: oklch(80.6% 0.140 116.7);
Tailwind
colors: {
  custom: {
    50: '#d1da8c',
    500: '#bacb59',
    950: '#000000',
  },
}
SCSS
$custom: #bacb59;
$custom-light: #d1da8c;
$custom-dark: #000000;
JSON
{
  "hex": "#bacb59",
  "rgb": {
    "r": 186,
    "g": 203,
    "b": 89
  },
  "hsl": {
    "h": 68.947,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80615,
    "c": 0.14035,
    "h": 116.7
  },
  "luminance": 0.53872
}

Semantic roles & 50–950 ramp

primary
#BACB59
secondary
#4A3F89
accent
#4CDC61
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BACB59

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

Preview Lab → · Contrast checker → · Palette generator →

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