#BAC74F#BAC74F

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

Color values

HEX#BAC74F
RGBrgb(186, 199, 79)
HSLhsl(67, 52%, 55%)
HSVhsv(67, 60%, 78%)
CMYKcmyk(6.5%, 0%, 60.3%, 22%)
CIE-LABlab(77.19, -20.59, 56.95)
CIE-LCHlch(77.19, 60.56, 109.88°)
OKLaboklab(79.63% -0.0608 0.1307)
OKLCHoklch(79.63% 0.144 114.9)
XYZxyz(42.0853, 51.8511, 15.1869)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC74F #5C4FC7
analogous
#C7984F #BAC74F #7EC74F
triadic
#BAC74F #4FBAC7 #C74FBA
tetradic
#BAC74F #4FC798 #5C4FC7 #C74F7E
square
#BAC74F #4FC798 #5C4FC7 #C74F7E
split-complementary
#BAC74F #4F7EC7 #984FC7
monochromatic
#6D7626 #98A434 #BAC74F #CCD67D #DEE5AC

Accessibility & contrast

On white

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

On black

11.37
#BAC74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC74F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC74F#FFFFFF#000000##000000
##BAC74F1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE41
Deuteranopia (green-blind)
#D3C057
Tritanopia (blue-blind)
#C5BCAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac74f;
/* rgb */ color: rgb(186, 199, 79);
/* oklch */ color: oklch(79.6% 0.144 114.9);
Tailwind
colors: {
  custom: {
    50: '#d1d785',
    500: '#bac74f',
    950: '#000000',
  },
}
SCSS
$custom: #bac74f;
$custom-light: #d1d785;
$custom-dark: #000000;
JSON
{
  "hex": "#bac74f",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 66.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79627,
    "c": 0.14415,
    "h": 114.9
  },
  "luminance": 0.5185
}

Semantic roles & 50–950 ramp

primary
#BAC74F
secondary
#433B7F
accent
#4DDB5C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC74F

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

Preview Lab → · Contrast checker → · Palette generator →

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