#BAC034#BAC034

#BAC034 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.9% C 0.155 H 112.0°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#BAC034
RGBrgb(186, 192, 52)
HSLhsl(63, 57%, 48%)
HSVhsv(63, 73%, 75%)
CMYKcmyk(3.1%, 0%, 72.9%, 24.7%)
CIE-LABlab(75.07, -18.72, 65.31)
CIE-LCHlch(75.07, 67.94, 105.99°)
OKLaboklab(77.86% -0.0582 0.1442)
OKLCHoklch(77.86% 0.155 112)
XYZxyz(39.7205, 48.3873, 10.4955)
Luminance0.4839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC034 #3A34C0
analogous
#C08034 #BAC034 #74C034
triadic
#BAC034 #34BAC0 #C034BA
tetradic
#BAC034 #34C080 #3A34C0 #C03474
square
#BAC034 #34C080 #3A34C0 #C03474
split-complementary
#BAC034 #3474C0 #8034C0
monochromatic
#5D601A #8B9027 #BAC034 #CED35E #DDE08E

Accessibility & contrast

On white

1.97
#BAC034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#BAC034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC034
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC034#FFFFFF#000000##000000
##BAC0341.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB718
Deuteranopia (green-blind)
#CFBA3F
Tritanopia (blue-blind)
#C7B4A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac034;
/* rgb */ color: rgb(186, 192, 52);
/* oklch */ color: oklch(77.9% 0.155 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d276',
    500: '#bac034',
    950: '#000000',
  },
}
SCSS
$custom: #bac034;
$custom-light: #d2d276;
$custom-dark: #000000;
JSON
{
  "hex": "#bac034",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 52
  },
  "hsl": {
    "h": 62.571,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.77865,
    "c": 0.15547,
    "h": 112
  },
  "luminance": 0.48386
}

Semantic roles & 50–950 ramp

primary
#BAC034
secondary
#8885CB
accent
#47E14E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC034

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

Preview Lab → · Contrast checker → · Palette generator →

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