#BAC841#BAC841

#BAC841 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.7% C 0.156 H 115.1°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#BAC841
RGBrgb(186, 200, 65)
HSLhsl(66, 55%, 52%)
HSVhsv(66, 68%, 78%)
CMYKcmyk(7%, 0%, 67.5%, 21.6%)
CIE-LABlab(77.36, -22.00, 62.84)
CIE-LCHlch(77.36, 66.58, 109.29°)
OKLaboklab(79.73% -0.0661 0.1411)
OKLCHoklch(79.73% 0.156 115.1)
XYZxyz(41.8592, 52.1300, 12.8570)
Luminance0.5213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC841 #4F41C8
analogous
#C89241 #BAC841 #77C841
triadic
#BAC841 #41BAC8 #C841BA
tetradic
#BAC841 #41C892 #4F41C8 #C84177
square
#BAC841 #41C892 #4F41C8 #C84177
split-complementary
#BAC841 #4177C8 #9241C8
monochromatic
#666F20 #929E2E #BAC841 #CBD670 #DCE3A0

Accessibility & contrast

On white

1.84
#BAC841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#BAC841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC841
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC841#FFFFFF#000000##000000
##BAC8411.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2D
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#C6BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac841;
/* rgb */ color: rgb(186, 200, 65);
/* oklch */ color: oklch(79.7% 0.156 115.1);
Tailwind
colors: {
  custom: {
    50: '#d2d87d',
    500: '#bac841',
    950: '#000000',
  },
}
SCSS
$custom: #bac841;
$custom-light: #d2d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#bac841",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 66.222,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79726,
    "c": 0.15585,
    "h": 115.1
  },
  "luminance": 0.52129
}

Semantic roles & 50–950 ramp

primary
#BAC841
secondary
#3C3578
accent
#49DE59
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC841

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

Preview Lab → · Contrast checker → · Palette generator →

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