#BAC641#BAC641

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

Color values

HEX#BAC641
RGBrgb(186, 198, 65)
HSLhsl(65, 54%, 52%)
HSVhsv(65, 67%, 78%)
CMYKcmyk(6.1%, 0%, 67.2%, 22.4%)
CIE-LABlab(76.81, -21.01, 62.28)
CIE-LCHlch(76.81, 65.73, 108.64°)
OKLaboklab(79.28% -0.0634 0.14)
OKLCHoklch(79.28% 0.154 114.4)
XYZxyz(41.3990, 51.2097, 12.7036)
Luminance0.5121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC641 #4D41C6
analogous
#C69041 #BAC641 #78C641
triadic
#BAC641 #41BAC6 #C641BA
tetradic
#BAC641 #41C690 #4D41C6 #C64178
square
#BAC641 #41C690 #4D41C6 #C64178
split-complementary
#BAC641 #4178C6 #9041C6
monochromatic
#656C20 #919B2F #BAC641 #CBD470 #DCE29F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC641#FFFFFF#000000##000000
##BAC6411.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)
#D4BC2D
Deuteranopia (green-blind)
#D3BF4B
Tritanopia (blue-blind)
#C6BBAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac641;
/* rgb */ color: rgb(186, 198, 65);
/* oklch */ color: oklch(79.3% 0.154 114.4);
Tailwind
colors: {
  custom: {
    50: '#d2d77d',
    500: '#bac641',
    950: '#000000',
  },
}
SCSS
$custom: #bac641;
$custom-light: #d2d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#bac641",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 65
  },
  "hsl": {
    "h": 65.414,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79283,
    "c": 0.15363,
    "h": 114.4
  },
  "luminance": 0.51209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAC641

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

Preview Lab → · Contrast checker → · Palette generator →

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