#BAC943#BAC943

#BAC943 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.0% C 0.156 H 115.5°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#BAC943
RGBrgb(186, 201, 67)
HSLhsl(67, 55%, 53%)
HSVhsv(67, 67%, 79%)
CMYKcmyk(7.5%, 0%, 66.7%, 21.2%)
CIE-LABlab(77.65, -22.37, 62.37)
CIE-LCHlch(77.65, 66.26, 109.73°)
OKLaboklab(79.96% -0.067 0.1404)
OKLCHoklch(79.96% 0.156 115.5)
XYZxyz(42.1505, 52.6183, 13.2450)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC943 #5243C9
analogous
#C99543 #BAC943 #77C943
triadic
#BAC943 #43BAC9 #C943BA
tetradic
#BAC943 #43C995 #5243C9 #C94377
square
#BAC943 #43C995 #5243C9 #C94377
split-complementary
#BAC943 #4377C9 #9543C9
monochromatic
#687120 #94A12E #BAC943 #CBD773 #DDE4A2

Accessibility & contrast

On white

1.82
#BAC943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#BAC943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC943
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC943#FFFFFF#000000##000000
##BAC9431.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF30
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#C6BEAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac943;
/* rgb */ color: rgb(186, 201, 67);
/* oklch */ color: oklch(80.0% 0.156 115.5);
Tailwind
colors: {
  custom: {
    50: '#d2d97e',
    500: '#bac943',
    950: '#000000',
  },
}
SCSS
$custom: #bac943;
$custom-light: #d2d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#bac943",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 67
  },
  "hsl": {
    "h": 66.716,
    "s": 55.372,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79963,
    "c": 0.15559,
    "h": 115.5
  },
  "luminance": 0.52618
}

Semantic roles & 50–950 ramp

primary
#BAC943
secondary
#3E367A
accent
#49DF5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC943

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

Preview Lab → · Contrast checker → · Palette generator →

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