#BAC934#BAC934

#BAC934 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.9% C 0.165 H 115.3°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#BAC934
RGBrgb(186, 201, 52)
HSLhsl(66, 59%, 50%)
HSVhsv(66, 74%, 79%)
CMYKcmyk(7.5%, 0%, 74.1%, 21.2%)
CIE-LABlab(77.56, -23.15, 67.67)
CIE-LCHlch(77.56, 71.52, 108.89°)
OKLaboklab(79.86% -0.0705 0.1491)
OKLCHoklch(79.86% 0.165 115.3)
XYZxyz(41.7573, 52.4610, 11.1744)
Luminance0.5246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC934 #4334C9
analogous
#C98D34 #BAC934 #70C934
triadic
#BAC934 #34BAC9 #C934BA
tetradic
#BAC934 #34C98D #4334C9 #C93470
square
#BAC934 #34C98D #4334C9 #C93470
split-complementary
#BAC934 #3470C9 #8D34C9
monochromatic
#60681B #8D9827 #BAC934 #CBD763 #DBE394

Accessibility & contrast

On white

1.83
#BAC934 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#BAC934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC934
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC934#FFFFFF#000000##000000
##BAC9341.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF12
Deuteranopia (green-blind)
#D6C141
Tritanopia (blue-blind)
#C6BDAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac934;
/* rgb */ color: rgb(186, 201, 52);
/* oklch */ color: oklch(79.9% 0.165 115.3);
Tailwind
colors: {
  custom: {
    50: '#d2d977',
    500: '#bac934',
    950: '#000000',
  },
}
SCSS
$custom: #bac934;
$custom-light: #d2d977;
$custom-dark: #000000;
JSON
{
  "hex": "#bac934",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 52
  },
  "hsl": {
    "h": 66.04,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79858,
    "c": 0.16497,
    "h": 115.3
  },
  "luminance": 0.5246
}

Semantic roles & 50–950 ramp

primary
#BAC934
secondary
#362F72
accent
#46E255
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC934

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

Preview Lab → · Contrast checker → · Palette generator →

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