#BAC535#BAC535

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

Color values

HEX#BAC535
RGBrgb(186, 197, 53)
HSLhsl(65, 58%, 49%)
HSVhsv(65, 73%, 77%)
CMYKcmyk(5.6%, 0%, 73.1%, 22.7%)
CIE-LABlab(76.45, -21.15, 66.29)
CIE-LCHlch(76.45, 69.58, 107.69°)
OKLaboklab(78.98% -0.0649 0.1464)
OKLCHoklch(78.98% 0.16 113.9)
XYZxyz(40.8598, 50.6295, 10.9875)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC535 #4035C5
analogous
#C58835 #BAC535 #72C535
triadic
#BAC535 #35BAC5 #C535BA
tetradic
#BAC535 #35C588 #4035C5 #C53572
square
#BAC535 #35C588 #4035C5 #C53572
split-complementary
#BAC535 #3572C5 #8835C5
monochromatic
#5F651B #8C9528 #BAC535 #CCD562 #DCE293

Accessibility & contrast

On white

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

On black

11.13
#BAC535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC535
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC535#FFFFFF#000000##000000
##BAC5351.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac535;
/* rgb */ color: rgb(186, 197, 53);
/* oklch */ color: oklch(79.0% 0.160 113.9);
Tailwind
colors: {
  custom: {
    50: '#d2d677',
    500: '#bac535',
    950: '#000000',
  },
}
SCSS
$custom: #bac535;
$custom-light: #d2d677;
$custom-dark: #000000;
JSON
{
  "hex": "#bac535",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 53
  },
  "hsl": {
    "h": 64.583,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78977,
    "c": 0.16014,
    "h": 113.9
  },
  "luminance": 0.50629
}

Semantic roles & 50–950 ramp

primary
#BAC535
secondary
#342F6F
accent
#47E153
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC535

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

Preview Lab → · Contrast checker → · Palette generator →

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