#BAC74D#BAC74D

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

Color values

HEX#BAC74D
RGBrgb(186, 199, 77)
HSLhsl(66, 52%, 54%)
HSVhsv(66, 61%, 78%)
CMYKcmyk(6.5%, 0%, 61.3%, 22%)
CIE-LABlab(77.17, -20.74, 57.79)
CIE-LCHlch(77.17, 61.40, 109.74°)
OKLaboklab(79.61% -0.0614 0.1322)
OKLCHoklch(79.61% 0.146 114.9)
XYZxyz(42.0136, 51.8224, 14.8092)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC74D #5A4DC7
analogous
#C7974D #BAC74D #7DC74D
triadic
#BAC74D #4DBAC7 #C74DBA
tetradic
#BAC74D #4DC797 #5A4DC7 #C74D7D
square
#BAC74D #4DC797 #5A4DC7 #C74D7D
split-complementary
#BAC74D #4D7DC7 #974DC7
monochromatic
#6C7525 #97A333 #BAC74D #CCD67C #DEE4AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC74D#FFFFFF#000000##000000
##BAC74D1.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)
#D4BE3E
Deuteranopia (green-blind)
#D4C055
Tritanopia (blue-blind)
#C5BCAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac74d;
/* rgb */ color: rgb(186, 199, 77);
/* oklch */ color: oklch(79.6% 0.146 114.9);
Tailwind
colors: {
  custom: {
    50: '#d1d784',
    500: '#bac74d',
    950: '#000000',
  },
}
SCSS
$custom: #bac74d;
$custom-light: #d1d784;
$custom-dark: #000000;
JSON
{
  "hex": "#bac74d",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 77
  },
  "hsl": {
    "h": 66.393,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79608,
    "c": 0.14578,
    "h": 114.9
  },
  "luminance": 0.51822
}

Semantic roles & 50–950 ramp

primary
#BAC74D
secondary
#423A7E
accent
#4CDC5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC74D

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

Preview Lab → · Contrast checker → · Palette generator →

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