#BAC23C#BAC23C

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

Color values

HEX#BAC23C
RGBrgb(186, 194, 60)
HSLhsl(64, 53%, 50%)
HSVhsv(64, 69%, 76%)
CMYKcmyk(4.1%, 0%, 69.1%, 23.9%)
CIE-LABlab(75.67, -19.31, 63.04)
CIE-LCHlch(75.67, 65.93, 107.03°)
OKLaboklab(78.36% -0.0591 0.1407)
OKLCHoklch(78.36% 0.153 112.8)
XYZxyz(40.3583, 49.3498, 11.6736)
Luminance0.4935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC23C #443CC2
analogous
#C2873C #BAC23C #77C23C
triadic
#BAC23C #3CBAC2 #C23CBA
tetradic
#BAC23C #3CC287 #443CC2 #C23C77
square
#BAC23C #3CC287 #443CC2 #C23C77
split-complementary
#BAC23C #3C77C2 #873CC2
monochromatic
#60651F #8D932E #BAC23C #CBD16A #DBDF99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC23C#FFFFFF#000000##000000
##BAC23C1.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)
#D0B926
Deuteranopia (green-blind)
#D1BC46
Tritanopia (blue-blind)
#C6B6A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac23c;
/* rgb */ color: rgb(186, 194, 60);
/* oklch */ color: oklch(78.4% 0.153 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d47a',
    500: '#bac23c',
    950: '#000000',
  },
}
SCSS
$custom: #bac23c;
$custom-light: #d2d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac23c",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 63.582,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.78361,
    "c": 0.15264,
    "h": 112.8
  },
  "luminance": 0.49349
}

Semantic roles & 50–950 ramp

primary
#BAC23C
secondary
#928FCB
accent
#4CDC54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC23C

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

Preview Lab → · Contrast checker → · Palette generator →

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