#BAC04D#BAC04D

#BAC04D is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.1% C 0.138 H 112.0°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#BAC04D
RGBrgb(186, 192, 77)
HSLhsl(63, 48%, 53%)
HSVhsv(63, 60%, 75%)
CMYKcmyk(3.1%, 0%, 59.9%, 24.7%)
CIE-LABlab(75.25, -17.25, 55.70)
CIE-LCHlch(75.25, 58.31, 107.21°)
OKLaboklab(78.07% -0.0516 0.1278)
OKLCHoklch(78.07% 0.138 112)
XYZxyz(40.4399, 48.6751, 14.2847)
Luminance0.4867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC04D #534DC0
analogous
#C08C4D #BAC04D #81C04D
triadic
#BAC04D #4DBAC0 #C04DBA
tetradic
#BAC04D #4DC08C #534DC0 #C04D81
square
#BAC04D #4DC08C #534DC0 #C04D81
split-complementary
#BAC04D #4D81C0 #8C4DC0
monochromatic
#696C26 #949936 #BAC04D #CCD07A #DDE0A7

Accessibility & contrast

On white

1.96
#BAC04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#BAC04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC04D
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC04D#FFFFFF#000000##000000
##BAC04D1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB840
Deuteranopia (green-blind)
#CEBB54
Tritanopia (blue-blind)
#C6B5A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac04d;
/* rgb */ color: rgb(186, 192, 77);
/* oklch */ color: oklch(78.1% 0.138 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d283',
    500: '#bac04d',
    950: '#000000',
  },
}
SCSS
$custom: #bac04d;
$custom-light: #d1d283;
$custom-dark: #000000;
JSON
{
  "hex": "#bac04d",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 63.13,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78067,
    "c": 0.13781,
    "h": 112
  },
  "luminance": 0.48674
}

Semantic roles & 50–950 ramp

primary
#BAC04D
secondary
#9E9BCD
accent
#50D758
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #BAC04D

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

Preview Lab → · Contrast checker → · Palette generator →

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