#BACB35#BACB35

#BACB35 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.3% C 0.167 H 116.0°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#BACB35
RGBrgb(186, 203, 53)
HSLhsl(67, 59%, 50%)
HSVhsv(67, 74%, 80%)
CMYKcmyk(8.4%, 0%, 73.9%, 20.4%)
CIE-LABlab(78.12, -24.08, 67.87)
CIE-LCHlch(78.12, 72.01, 109.54°)
OKLaboklab(80.31% -0.073 0.1497)
OKLCHoklch(80.31% 0.167 116)
XYZxyz(42.2494, 53.4087, 11.4507)
Luminance0.5341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACB35 #4635CB
analogous
#CB9135 #BACB35 #6FCB35
triadic
#BACB35 #35BACB #CB35BA
tetradic
#BACB35 #35CB91 #4635CB #CB356F
square
#BACB35 #35CB91 #4635CB #CB356F
split-complementary
#BACB35 #356FCB #9135CB
monochromatic
#616A1B #8E9B28 #BACB35 #CBD866 #DBE496

Accessibility & contrast

On white

1.80
#BACB35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#BACB35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACB35
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACB35#FFFFFF#000000##000000
##BACB351.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C014
Deuteranopia (green-blind)
#D8C242
Tritanopia (blue-blind)
#C6BFAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bacb35;
/* rgb */ color: rgb(186, 203, 53);
/* oklch */ color: oklch(80.3% 0.167 116.0);
Tailwind
colors: {
  custom: {
    50: '#d2da77',
    500: '#bacb35',
    950: '#000000',
  },
}
SCSS
$custom: #bacb35;
$custom-light: #d2da77;
$custom-dark: #000000;
JSON
{
  "hex": "#bacb35",
  "rgb": {
    "r": 186,
    "g": 203,
    "b": 53
  },
  "hsl": {
    "h": 66.8,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.8031,
    "c": 0.16658,
    "h": 116
  },
  "luminance": 0.53408
}

Semantic roles & 50–950 ramp

primary
#BACB35
secondary
#383074
accent
#46E257
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BACB35

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

Preview Lab → · Contrast checker → · Palette generator →

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