#BAC834#BAC834

#BAC834 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.6% C 0.164 H 115.0°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#BAC834
RGBrgb(186, 200, 52)
HSLhsl(66, 59%, 49%)
HSVhsv(66, 74%, 78%)
CMYKcmyk(7%, 0%, 74%, 21.6%)
CIE-LABlab(77.28, -22.67, 67.40)
CIE-LCHlch(77.28, 71.11, 108.59°)
OKLaboklab(79.64% -0.0692 0.1486)
OKLCHoklch(79.64% 0.164 115)
XYZxyz(41.5250, 51.9963, 11.0970)
Luminance0.5200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC834 #4234C8
analogous
#C88C34 #BAC834 #70C834
triadic
#BAC834 #34BAC8 #C834BA
tetradic
#BAC834 #34C88C #4234C8 #C83470
square
#BAC834 #34C88C #4234C8 #C83470
split-complementary
#BAC834 #3470C8 #8C34C8
monochromatic
#60671B #8D9727 #BAC834 #CBD663 #DBE393

Accessibility & contrast

On white

1.84
#BAC834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#BAC834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC834
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC834#FFFFFF#000000##000000
##BAC8341.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE13
Deuteranopia (green-blind)
#D6C041
Tritanopia (blue-blind)
#C6BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac834;
/* rgb */ color: rgb(186, 200, 52);
/* oklch */ color: oklch(79.6% 0.164 115.0);
Tailwind
colors: {
  custom: {
    50: '#d2d877',
    500: '#bac834',
    950: '#000000',
  },
}
SCSS
$custom: #bac834;
$custom-light: #d2d877;
$custom-dark: #000000;
JSON
{
  "hex": "#bac834",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 52
  },
  "hsl": {
    "h": 65.676,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79636,
    "c": 0.1639,
    "h": 115
  },
  "luminance": 0.51996
}

Semantic roles & 50–950 ramp

primary
#BAC834
secondary
#352F71
accent
#46E255
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC834

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

Preview Lab → · Contrast checker → · Palette generator →

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