#BAC950#BAC950

#BAC950 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.1% C 0.146 H 115.7°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#BAC950
RGBrgb(186, 201, 80)
HSLhsl(67, 53%, 55%)
HSVhsv(67, 60%, 79%)
CMYKcmyk(7.5%, 0%, 60.2%, 21.2%)
CIE-LABlab(77.75, -21.51, 57.14)
CIE-LCHlch(77.75, 61.05, 110.63°)
OKLaboklab(80.08% -0.0632 0.1312)
OKLCHoklch(80.08% 0.146 115.7)
XYZxyz(42.5852, 52.7922, 15.5344)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC950 #5F50C9
analogous
#C99B50 #BAC950 #7EC950
triadic
#BAC950 #50BAC9 #C950BA
tetradic
#BAC950 #50C99B #5F50C9 #C9507E
square
#BAC950 #50C99B #5F50C9 #C9507E
split-complementary
#BAC950 #507EC9 #9B50C9
monochromatic
#6F7925 #9AA834 #BAC950 #CCD77F #DFE6AE

Accessibility & contrast

On white

1.82
#BAC950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#BAC950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC950
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC950#FFFFFF#000000##000000
##BAC9501.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF42
Deuteranopia (green-blind)
#D5C158
Tritanopia (blue-blind)
#C5BEAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac950;
/* rgb */ color: rgb(186, 201, 80);
/* oklch */ color: oklch(80.1% 0.146 115.7);
Tailwind
colors: {
  custom: {
    50: '#d1d986',
    500: '#bac950',
    950: '#000000',
  },
}
SCSS
$custom: #bac950;
$custom-light: #d1d986;
$custom-dark: #000000;
JSON
{
  "hex": "#bac950",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 67.438,
    "s": 52.838,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80079,
    "c": 0.14568,
    "h": 115.7
  },
  "luminance": 0.52792
}

Semantic roles & 50–950 ramp

primary
#BAC950
secondary
#443C82
accent
#4CDC5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC950

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

Preview Lab → · Contrast checker → · Palette generator →

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