#BAC74C#BAC74C

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

Color values

HEX#BAC74C
RGBrgb(186, 199, 76)
HSLhsl(66, 52%, 54%)
HSVhsv(66, 62%, 78%)
CMYKcmyk(6.5%, 0%, 61.8%, 22%)
CIE-LABlab(77.17, -20.80, 58.21)
CIE-LCHlch(77.17, 61.81, 109.67°)
OKLaboklab(79.6% -0.0617 0.133)
OKLCHoklch(79.6% 0.147 114.9)
XYZxyz(41.9786, 51.8084, 14.6247)
Luminance0.5181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC74C #594CC7
analogous
#C7964C #BAC74C #7DC74C
triadic
#BAC74C #4CBAC7 #C74CBA
tetradic
#BAC74C #4CC796 #594CC7 #C74C7D
square
#BAC74C #4CC796 #594CC7 #C74C7D
split-complementary
#BAC74C #4C7DC7 #964CC7
monochromatic
#6C7424 #97A333 #BAC74C #CCD67B #DEE4A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC74C#FFFFFF#000000##000000
##BAC74C1.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)
#D4BE3D
Deuteranopia (green-blind)
#D4C054
Tritanopia (blue-blind)
#C5BCAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac74c;
/* rgb */ color: rgb(186, 199, 76);
/* oklch */ color: oklch(79.6% 0.147 114.9);
Tailwind
colors: {
  custom: {
    50: '#d1d783',
    500: '#bac74c',
    950: '#000000',
  },
}
SCSS
$custom: #bac74c;
$custom-light: #d1d783;
$custom-dark: #000000;
JSON
{
  "hex": "#bac74c",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 66.341,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79598,
    "c": 0.14658,
    "h": 114.9
  },
  "luminance": 0.51808
}

Semantic roles & 50–950 ramp

primary
#BAC74C
secondary
#413A7D
accent
#4CDC5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC74C

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

Preview Lab → · Contrast checker → · Palette generator →

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