#BAC04A#BAC04A

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

Color values

HEX#BAC04A
RGBrgb(186, 192, 74)
HSLhsl(63, 48%, 52%)
HSVhsv(63, 61%, 75%)
CMYKcmyk(3.1%, 0%, 61.5%, 24.7%)
CIE-LABlab(75.22, -17.46, 56.97)
CIE-LCHlch(75.22, 59.58, 107.04°)
OKLaboklab(78.04% -0.0525 0.1301)
OKLCHoklch(78.04% 0.14 112)
XYZxyz(40.3364, 48.6337, 13.7396)
Luminance0.4863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC04A #504AC0
analogous
#C08B4A #BAC04A #7FC04A
triadic
#BAC04A #4ABAC0 #C04ABA
tetradic
#BAC04A #4AC08B #504AC0 #C04A7F
square
#BAC04A #4AC08B #504AC0 #C04A7F
split-complementary
#BAC04A #4A7FC0 #8B4AC0
monochromatic
#676B25 #939835 #BAC04A #CBD077 #DDE0A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC04A#FFFFFF#000000##000000
##BAC04A1.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)
#CEB83C
Deuteranopia (green-blind)
#CEBB51
Tritanopia (blue-blind)
#C6B5A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac04a;
/* rgb */ color: rgb(186, 192, 74);
/* oklch */ color: oklch(78.0% 0.140 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d282',
    500: '#bac04a',
    950: '#000000',
  },
}
SCSS
$custom: #bac04a;
$custom-light: #d1d282;
$custom-dark: #000000;
JSON
{
  "hex": "#bac04a",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 63.051,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78038,
    "c": 0.14026,
    "h": 112
  },
  "luminance": 0.48633
}

Semantic roles & 50–950 ramp

primary
#BAC04A
secondary
#9C99CD
accent
#50D857
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #BAC04A

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

Preview Lab → · Contrast checker → · Palette generator →

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