#BAC23D#BAC23D

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

Color values

HEX#BAC23D
RGBrgb(186, 194, 61)
HSLhsl(64, 52%, 50%)
HSVhsv(64, 69%, 76%)
CMYKcmyk(4.1%, 0%, 68.6%, 23.9%)
CIE-LABlab(75.68, -19.26, 62.67)
CIE-LCHlch(75.68, 65.56, 107.08°)
OKLaboklab(78.37% -0.0589 0.1401)
OKLCHoklch(78.37% 0.152 112.8)
XYZxyz(40.3850, 49.3605, 11.8141)
Luminance0.4936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC23D #453DC2
analogous
#C2873D #BAC23D #78C23D
triadic
#BAC23D #3DBAC2 #C23DBA
tetradic
#BAC23D #3DC287 #453DC2 #C23D78
square
#BAC23D #3DC287 #453DC2 #C23D78
split-complementary
#BAC23D #3D78C2 #873DC2
monochromatic
#616520 #8D932E #BAC23D #CBD16C #DBDF9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC23D#FFFFFF#000000##000000
##BAC23D1.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)
#D0B928
Deuteranopia (green-blind)
#D0BC47
Tritanopia (blue-blind)
#C6B6A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac23d;
/* rgb */ color: rgb(186, 194, 61);
/* oklch */ color: oklch(78.4% 0.152 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d47a',
    500: '#bac23d',
    950: '#000000',
  },
}
SCSS
$custom: #bac23d;
$custom-light: #d2d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac23d",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 61
  },
  "hsl": {
    "h": 63.609,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.78368,
    "c": 0.15198,
    "h": 112.8
  },
  "luminance": 0.4936
}

Semantic roles & 50–950 ramp

primary
#BAC23D
secondary
#9390CB
accent
#4CDC55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC23D

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

Preview Lab → · Contrast checker → · Palette generator →

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