#BAC74A#BAC74A

#BAC74A is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.6% C 0.148 H 114.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#BAC74A
RGBrgb(186, 199, 74)
HSLhsl(66, 53%, 54%)
HSVhsv(66, 63%, 78%)
CMYKcmyk(6.5%, 0%, 62.8%, 22%)
CIE-LABlab(77.15, -20.94, 59.03)
CIE-LCHlch(77.15, 62.63, 109.53°)
OKLaboklab(79.58% -0.0623 0.1344)
OKLCHoklch(79.58% 0.148 114.9)
XYZxyz(41.9101, 51.7810, 14.2642)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC74A #574AC7
analogous
#C7954A #BAC74A #7BC74A
triadic
#BAC74A #4ABAC7 #C74ABA
tetradic
#BAC74A #4AC795 #574AC7 #C74A7B
square
#BAC74A #4AC795 #574AC7 #C74A7B
split-complementary
#BAC74A #4A7BC7 #954AC7
monochromatic
#6B7324 #96A232 #BAC74A #CCD579 #DEE4A7

Accessibility & contrast

On white

1.85
#BAC74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#BAC74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC74A
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC74A#FFFFFF#000000##000000
##BAC74A1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3A
Deuteranopia (green-blind)
#D4C052
Tritanopia (blue-blind)
#C5BCAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac74a;
/* rgb */ color: rgb(186, 199, 74);
/* oklch */ color: oklch(79.6% 0.148 114.9);
Tailwind
colors: {
  custom: {
    50: '#d2d782',
    500: '#bac74a',
    950: '#000000',
  },
}
SCSS
$custom: #bac74a;
$custom-light: #d2d782;
$custom-dark: #000000;
JSON
{
  "hex": "#bac74a",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 66.24,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7958,
    "c": 0.14814,
    "h": 114.9
  },
  "luminance": 0.5178
}

Semantic roles & 50–950 ramp

primary
#BAC74A
secondary
#40397C
accent
#4CDC5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC74A

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

Preview Lab → · Contrast checker → · Palette generator →

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