#BAC442#BAC442

#BAC442 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.8% C 0.151 H 113.6°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#BAC442
RGBrgb(186, 196, 66)
HSLhsl(65, 52%, 51%)
HSVhsv(65, 66%, 77%)
CMYKcmyk(5.1%, 0%, 66.3%, 23.1%)
CIE-LABlab(76.26, -19.97, 61.34)
CIE-LCHlch(76.26, 64.50, 108.03°)
OKLaboklab(78.85% -0.0603 0.1381)
OKLCHoklch(78.85% 0.151 113.6)
XYZxyz(40.9741, 50.3131, 12.7062)
Luminance0.5031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC442 #4C42C4
analogous
#C48D42 #BAC442 #79C442
triadic
#BAC442 #42BAC4 #C442BA
tetradic
#BAC442 #42C48D #4C42C4 #C44279
square
#BAC442 #42C48D #4C42C4 #C44279
split-complementary
#BAC442 #4279C4 #8D42C4
monochromatic
#656A21 #919930 #BAC442 #CBD371 #DCE19F

Accessibility & contrast

On white

1.90
#BAC442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#BAC442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC442
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC442#FFFFFF#000000##000000
##BAC4421.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2F
Deuteranopia (green-blind)
#D2BD4B
Tritanopia (blue-blind)
#C6B9AA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bac442;
/* rgb */ color: rgb(186, 196, 66);
/* oklch */ color: oklch(78.8% 0.151 113.6);
Tailwind
colors: {
  custom: {
    50: '#d2d57d',
    500: '#bac442',
    950: '#000000',
  },
}
SCSS
$custom: #bac442;
$custom-light: #d2d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#bac442",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 66
  },
  "hsl": {
    "h": 64.615,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78848,
    "c": 0.15072,
    "h": 113.6
  },
  "luminance": 0.50312
}

Semantic roles & 50–950 ramp

primary
#BAC442
secondary
#3B3674
accent
#4CDC57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC442

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

Preview Lab → · Contrast checker → · Palette generator →

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