#BAC534#BAC534

#BAC534 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.0% C 0.161 H 113.9°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#BAC534
RGBrgb(186, 197, 52)
HSLhsl(65, 58%, 49%)
HSVhsv(65, 74%, 77%)
CMYKcmyk(5.6%, 0%, 73.6%, 22.7%)
CIE-LABlab(76.45, -21.20, 66.62)
CIE-LCHlch(76.45, 69.91, 107.65°)
OKLaboklab(78.97% -0.0651 0.1469)
OKLCHoklch(78.97% 0.161 113.9)
XYZxyz(40.8370, 50.6204, 10.8676)
Luminance0.5062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC534 #3F34C5
analogous
#C58834 #BAC534 #72C534
triadic
#BAC534 #34BAC5 #C534BA
tetradic
#BAC534 #34C588 #3F34C5 #C53472
square
#BAC534 #34C588 #3F34C5 #C53472
split-complementary
#BAC534 #3472C5 #8834C5
monochromatic
#5F641A #8C9527 #BAC534 #CCD561 #DCE291

Accessibility & contrast

On white

1.89
#BAC534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#BAC534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC534
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC534#FFFFFF#000000##000000
##BAC5341.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB15
Deuteranopia (green-blind)
#D3BE40
Tritanopia (blue-blind)
#C6B9A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac534;
/* rgb */ color: rgb(186, 197, 52);
/* oklch */ color: oklch(79.0% 0.161 113.9);
Tailwind
colors: {
  custom: {
    50: '#d2d676',
    500: '#bac534',
    950: '#000000',
  },
}
SCSS
$custom: #bac534;
$custom-light: #d2d676;
$custom-dark: #000000;
JSON
{
  "hex": "#bac534",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 52
  },
  "hsl": {
    "h": 64.552,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7897,
    "c": 0.1607,
    "h": 113.9
  },
  "luminance": 0.5062
}

Semantic roles & 50–950 ramp

primary
#BAC534
secondary
#332F6F
accent
#46E152
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC534

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

Preview Lab → · Contrast checker → · Palette generator →

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