#BAC23B#BAC23B

#BAC23B 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#BAC23B
RGBrgb(186, 194, 59)
HSLhsl(64, 53%, 50%)
HSVhsv(64, 70%, 76%)
CMYKcmyk(4.1%, 0%, 69.6%, 23.9%)
CIE-LABlab(75.66, -19.37, 63.40)
CIE-LCHlch(75.66, 66.29, 106.99°)
OKLaboklab(78.35% -0.0593 0.1413)
OKLCHoklch(78.35% 0.153 112.8)
XYZxyz(40.3321, 49.3393, 11.5357)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC23B #433BC2
analogous
#C2873B #BAC23B #76C23B
triadic
#BAC23B #3BBAC2 #C23BBA
tetradic
#BAC23B #3BC287 #433BC2 #C23B76
square
#BAC23B #3BC287 #433BC2 #C23B76
split-complementary
#BAC23B #3B76C2 #873BC2
monochromatic
#60641E #8D932D #BAC23B #CBD169 #DBE098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC23B#FFFFFF#000000##000000
##BAC23B1.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)
#D0B925
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#C6B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac23b;
/* rgb */ color: rgb(186, 194, 59);
/* oklch */ color: oklch(78.4% 0.153 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d479',
    500: '#bac23b',
    950: '#000000',
  },
}
SCSS
$custom: #bac23b;
$custom-light: #d2d479;
$custom-dark: #000000;
JSON
{
  "hex": "#bac23b",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 63.556,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78354,
    "c": 0.15329,
    "h": 112.8
  },
  "luminance": 0.49338
}

Semantic roles & 50–950 ramp

primary
#BAC23B
secondary
#918ECB
accent
#4BDD54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC23B

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

Preview Lab → · Contrast checker → · Palette generator →

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