#BAC154#BAC154

#BAC154 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.4% C 0.133 H 112.5°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#BAC154
RGBrgb(186, 193, 84)
HSLhsl(64, 47%, 54%)
HSVhsv(64, 56%, 76%)
CMYKcmyk(3.6%, 0%, 56.5%, 24.3%)
CIE-LABlab(75.59, -17.23, 52.97)
CIE-LCHlch(75.59, 55.70, 108.02°)
OKLaboklab(78.36% -0.0508 0.1228)
OKLCHoklch(78.36% 0.133 112.5)
XYZxyz(40.9208, 49.2199, 15.7305)
Luminance0.4922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC154 #5B54C1
analogous
#C19254 #BAC154 #84C154
triadic
#BAC154 #54BAC1 #C154BA
tetradic
#BAC154 #54C192 #5B54C1 #C15484
square
#BAC154 #54C192 #5B54C1 #C15484
split-complementary
#BAC154 #5484C1 #9254C1
monochromatic
#6D7129 #989E39 #BAC154 #CCD181 #DEE2AE

Accessibility & contrast

On white

1.94
#BAC154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#BAC154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC154
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC154#FFFFFF#000000##000000
##BAC1541.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB948
Deuteranopia (green-blind)
#CEBC5A
Tritanopia (blue-blind)
#C5B7A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac154;
/* rgb */ color: rgb(186, 193, 84);
/* oklch */ color: oklch(78.4% 0.133 112.5);
Tailwind
colors: {
  custom: {
    50: '#d1d388',
    500: '#bac154',
    950: '#000000',
  },
}
SCSS
$custom: #bac154;
$custom-light: #d1d388;
$custom-dark: #000000;
JSON
{
  "hex": "#bac154",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 63.853,
    "s": 46.781,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78359,
    "c": 0.13291,
    "h": 112.5
  },
  "luminance": 0.49219
}

Semantic roles & 50–950 ramp

primary
#BAC154
secondary
#A4A1D0
accent
#51D65A
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140C
muted
#83827D

Preview Lab

Preview with #BAC154

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

Preview Lab → · Contrast checker → · Palette generator →

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