#BAC642#BAC642

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

Color values

HEX#BAC642
RGBrgb(186, 198, 66)
HSLhsl(65, 54%, 52%)
HSVhsv(65, 67%, 78%)
CMYKcmyk(6.1%, 0%, 66.7%, 22.4%)
CIE-LABlab(76.81, -20.95, 61.90)
CIE-LCHlch(76.81, 65.35, 108.70°)
OKLaboklab(79.29% -0.0631 0.1393)
OKLCHoklch(79.29% 0.153 114.4)
XYZxyz(41.4282, 51.2214, 12.8575)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC642 #4E42C6
analogous
#C69042 #BAC642 #78C642
triadic
#BAC642 #42BAC6 #C642BA
tetradic
#BAC642 #42C690 #4E42C6 #C64278
square
#BAC642 #42C690 #4E42C6 #C64278
split-complementary
#BAC642 #4278C6 #9042C6
monochromatic
#666D21 #929C2F #BAC642 #CBD471 #DCE2A0

Accessibility & contrast

On white

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

On black

11.24
#BAC642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC642
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC642#FFFFFF#000000##000000
##BAC6421.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac642;
/* rgb */ color: rgb(186, 198, 66);
/* oklch */ color: oklch(79.3% 0.153 114.4);
Tailwind
colors: {
  custom: {
    50: '#d2d77e',
    500: '#bac642',
    950: '#000000',
  },
}
SCSS
$custom: #bac642;
$custom-light: #d2d77e;
$custom-dark: #000000;
JSON
{
  "hex": "#bac642",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 66
  },
  "hsl": {
    "h": 65.455,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79291,
    "c": 0.15293,
    "h": 114.4
  },
  "luminance": 0.51221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAC642

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

Preview Lab → · Contrast checker → · Palette generator →

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