#BAC23A#BAC23A

#BAC23A is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.3% C 0.154 H 112.8°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#BAC23A
RGBrgb(186, 194, 58)
HSLhsl(64, 54%, 49%)
HSVhsv(64, 70%, 76%)
CMYKcmyk(4.1%, 0%, 70.1%, 23.9%)
CIE-LABlab(75.66, -19.42, 63.76)
CIE-LCHlch(75.66, 66.65, 106.94°)
OKLaboklab(78.35% -0.0596 0.1419)
OKLCHoklch(78.35% 0.154 112.8)
XYZxyz(40.3064, 49.3291, 11.4004)
Luminance0.4933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC23A #423AC2
analogous
#C2863A #BAC23A #76C23A
triadic
#BAC23A #3ABAC2 #C23ABA
tetradic
#BAC23A #3AC286 #423AC2 #C23A76
square
#BAC23A #3AC286 #423AC2 #C23A76
split-complementary
#BAC23A #3A76C2 #863AC2
monochromatic
#60641E #8D932C #BAC23A #CBD267 #DBE097

Accessibility & contrast

On white

1.93
#BAC23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#BAC23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC23A
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC23A#FFFFFF#000000##000000
##BAC23A1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B923
Deuteranopia (green-blind)
#D1BC44
Tritanopia (blue-blind)
#C6B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac23a;
/* rgb */ color: rgb(186, 194, 58);
/* oklch */ color: oklch(78.3% 0.154 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d479',
    500: '#bac23a',
    950: '#000000',
  },
}
SCSS
$custom: #bac23a;
$custom-light: #d2d479;
$custom-dark: #000000;
JSON
{
  "hex": "#bac23a",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 63.529,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78346,
    "c": 0.15393,
    "h": 112.8
  },
  "luminance": 0.49328
}

Semantic roles & 50–950 ramp

primary
#BAC23A
secondary
#908DCB
accent
#4ADD53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BAC23A

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

Preview Lab → · Contrast checker → · Palette generator →

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