#BAC462#BAC462

#BAC462 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.2% C 0.123 H 114.0°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#BAC462
RGBrgb(186, 196, 98)
HSLhsl(66, 45%, 58%)
HSVhsv(66, 50%, 77%)
CMYKcmyk(5.1%, 0%, 50%, 23.1%)
CIE-LABlab(76.56, -17.53, 47.56)
CIE-LCHlch(76.56, 50.69, 110.24°)
OKLaboklab(79.18% -0.0502 0.1126)
OKLCHoklch(79.18% 0.123 114)
XYZxyz(42.1949, 50.8014, 19.1358)
Luminance0.5080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC462 #6C62C4
analogous
#C49D62 #BAC462 #89C462
triadic
#BAC462 #62BAC4 #C462BA
tetradic
#BAC462 #62C49D #6C62C4 #C46289
square
#BAC462 #62C49D #6C62C4 #C46289
split-complementary
#BAC462 #6289C4 #9D62C4
monochromatic
#757D2F #9EA940 #BAC462 #CED58E #E1E5BB

Accessibility & contrast

On white

1.88
#BAC462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#BAC462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC462
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC462#FFFFFF#000000##000000
##BAC4621.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC59
Deuteranopia (green-blind)
#D0BE67
Tritanopia (blue-blind)
#C4BAAE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac462;
/* rgb */ color: rgb(186, 196, 98);
/* oklch */ color: oklch(79.2% 0.123 114.0);
Tailwind
colors: {
  custom: {
    50: '#d0d591',
    500: '#bac462',
    950: '#000000',
  },
}
SCSS
$custom: #bac462;
$custom-light: #d0d591;
$custom-dark: #000000;
JSON
{
  "hex": "#bac462",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 66.122,
    "s": 45.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79182,
    "c": 0.12327,
    "h": 114
  },
  "luminance": 0.50801
}

Semantic roles & 50–950 ramp

primary
#BAC462
secondary
#4C4585
accent
#53D560
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC462

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

Preview Lab → · Contrast checker → · Palette generator →

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