#BAC643#BAC643

#BAC643 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.3% C 0.152 H 114.4°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#BAC643
RGBrgb(186, 198, 67)
HSLhsl(65, 53%, 52%)
HSVhsv(65, 66%, 78%)
CMYKcmyk(6.1%, 0%, 66.2%, 22.4%)
CIE-LABlab(76.82, -20.89, 61.52)
CIE-LCHlch(76.82, 64.97, 108.76°)
OKLaboklab(79.3% -0.0628 0.1387)
OKLCHoklch(79.3% 0.152 114.4)
XYZxyz(41.4580, 51.2333, 13.0142)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC643 #4F43C6
analogous
#C69143 #BAC643 #79C643
triadic
#BAC643 #43BAC6 #C643BA
tetradic
#BAC643 #43C691 #4F43C6 #C64379
square
#BAC643 #43C691 #4F43C6 #C64379
split-complementary
#BAC643 #4379C6 #9143C6
monochromatic
#666D21 #929C2F #BAC643 #CBD472 #DCE2A1

Accessibility & contrast

On white

1.87
#BAC643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#BAC643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC643
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC643#FFFFFF#000000##000000
##BAC6431.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC30
Deuteranopia (green-blind)
#D3BF4C
Tritanopia (blue-blind)
#C6BBAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac643;
/* rgb */ color: rgb(186, 198, 67);
/* oklch */ color: oklch(79.3% 0.152 114.4);
Tailwind
colors: {
  custom: {
    50: '#d2d77e',
    500: '#bac643',
    950: '#000000',
  },
}
SCSS
$custom: #bac643;
$custom-light: #d2d77e;
$custom-dark: #000000;
JSON
{
  "hex": "#bac643",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 67
  },
  "hsl": {
    "h": 65.496,
    "s": 53.469,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79299,
    "c": 0.15223,
    "h": 114.4
  },
  "luminance": 0.51233
}

Semantic roles & 50–950 ramp

primary
#BAC643
secondary
#3C3677
accent
#4BDD58
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC643

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

Preview Lab → · Contrast checker → · Palette generator →

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