#BAC843#BAC843

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

Color values

HEX#BAC843
RGBrgb(186, 200, 67)
HSLhsl(66, 55%, 52%)
HSVhsv(66, 67%, 78%)
CMYKcmyk(7%, 0%, 66.5%, 21.6%)
CIE-LABlab(77.37, -21.88, 62.08)
CIE-LCHlch(77.37, 65.83, 109.41°)
OKLaboklab(79.74% -0.0656 0.1398)
OKLCHoklch(79.74% 0.154 115.1)
XYZxyz(41.9181, 52.1536, 13.1675)
Luminance0.5215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC843 #5143C8
analogous
#C89443 #BAC843 #77C843
triadic
#BAC843 #43BAC8 #C843BA
tetradic
#BAC843 #43C894 #5143C8 #C84377
square
#BAC843 #43C894 #5143C8 #C84377
split-complementary
#BAC843 #4377C8 #9443C8
monochromatic
#687021 #939F2F #BAC843 #CBD672 #DDE4A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC843#FFFFFF#000000##000000
##BAC8431.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)
#D6BE30
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#C6BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac843;
/* rgb */ color: rgb(186, 200, 67);
/* oklch */ color: oklch(79.7% 0.154 115.1);
Tailwind
colors: {
  custom: {
    50: '#d2d87e',
    500: '#bac843',
    950: '#000000',
  },
}
SCSS
$custom: #bac843;
$custom-light: #d2d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#bac843",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 66.316,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79741,
    "c": 0.15446,
    "h": 115.1
  },
  "luminance": 0.52153
}

Semantic roles & 50–950 ramp

primary
#BAC843
secondary
#3D3679
accent
#4ADE59
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC843

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

Preview Lab → · Contrast checker → · Palette generator →

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