#BAC959#BAC959

#BAC959 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.2% C 0.138 H 116.0°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#BAC959
RGBrgb(186, 201, 89)
HSLhsl(68, 51%, 57%)
HSVhsv(68, 56%, 79%)
CMYKcmyk(7.5%, 0%, 55.7%, 21.2%)
CIE-LABlab(77.84, -20.81, 53.24)
CIE-LCHlch(77.84, 57.17, 111.34°)
OKLaboklab(80.17% -0.0604 0.124)
OKLCHoklch(80.17% 0.138 116)
XYZxyz(42.9403, 52.9342, 17.4045)
Luminance0.5293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC959 #6859C9
analogous
#C9A059 #BAC959 #82C959
triadic
#BAC959 #59BAC9 #C959BA
tetradic
#BAC959 #59C9A0 #6859C9 #C95982
square
#BAC959 #59C9A0 #6859C9 #C95982
split-complementary
#BAC959 #5982C9 #A059C9
monochromatic
#737E29 #9DAD38 #BAC959 #CDD887 #E0E7B5

Accessibility & contrast

On white

1.81
#BAC959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#BAC959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC959
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC959#FFFFFF#000000##000000
##BAC9591.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04D
Deuteranopia (green-blind)
#D4C160
Tritanopia (blue-blind)
#C4BFB0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac959;
/* rgb */ color: rgb(186, 201, 89);
/* oklch */ color: oklch(80.2% 0.138 116.0);
Tailwind
colors: {
  custom: {
    50: '#d1d98b',
    500: '#bac959',
    950: '#000000',
  },
}
SCSS
$custom: #bac959;
$custom-light: #d1d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac959",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 89
  },
  "hsl": {
    "h": 68.036,
    "s": 50.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80173,
    "c": 0.13791,
    "h": 116
  },
  "luminance": 0.52934
}

Semantic roles & 50–950 ramp

primary
#BAC959
secondary
#494086
accent
#4DDA60
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC959

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

Preview Lab → · Contrast checker → · Palette generator →

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