#BAC75B#BAC75B

#BAC75B is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.8% C 0.134 H 115.2°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#BAC75B
RGBrgb(186, 199, 91)
HSLhsl(67, 49%, 57%)
HSVhsv(67, 54%, 78%)
CMYKcmyk(6.5%, 0%, 54.3%, 22%)
CIE-LABlab(77.31, -19.65, 51.72)
CIE-LCHlch(77.31, 55.33, 110.80°)
OKLaboklab(79.76% -0.0569 0.1209)
OKLCHoklch(79.76% 0.134 115.2)
XYZxyz(42.5622, 52.0419, 17.6984)
Luminance0.5204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC75B #685BC7
analogous
#C79E5B #BAC75B #84C75B
triadic
#BAC75B #5BBAC7 #C75BBA
tetradic
#BAC75B #5BC79E #685BC7 #C75B84
square
#BAC75B #5BC79E #685BC7 #C75B84
split-complementary
#BAC75B #5B84C7 #9E5BC7
monochromatic
#737D2B #9DAB3A #BAC75B #CDD789 #E0E6B6

Accessibility & contrast

On white

1.84
#BAC75B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#BAC75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC75B
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC75B#FFFFFF#000000##000000
##BAC75B1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE50
Deuteranopia (green-blind)
#D3C061
Tritanopia (blue-blind)
#C4BDAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac75b;
/* rgb */ color: rgb(186, 199, 91);
/* oklch */ color: oklch(79.8% 0.134 115.2);
Tailwind
colors: {
  custom: {
    50: '#d1d78d',
    500: '#bac75b',
    950: '#000000',
  },
}
SCSS
$custom: #bac75b;
$custom-light: #d1d78d;
$custom-dark: #000000;
JSON
{
  "hex": "#bac75b",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 91
  },
  "hsl": {
    "h": 67.222,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79755,
    "c": 0.13365,
    "h": 115.2
  },
  "luminance": 0.52041
}

Semantic roles & 50–950 ramp

primary
#BAC75B
secondary
#494185
accent
#4FD960
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC75B

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

Preview Lab → · Contrast checker → · Palette generator →

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