#BAC75E#BAC75E

#BAC75E is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.8% C 0.131 H 115.3°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#BAC75E
RGBrgb(186, 199, 94)
HSLhsl(67, 48%, 57%)
HSVhsv(67, 53%, 78%)
CMYKcmyk(6.5%, 0%, 52.8%, 22%)
CIE-LABlab(77.34, -19.39, 50.37)
CIE-LCHlch(77.34, 53.97, 111.06°)
OKLaboklab(79.79% -0.0559 0.1183)
OKLCHoklch(79.79% 0.131 115.3)
XYZxyz(42.6942, 52.0947, 18.3937)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC75E #6B5EC7
analogous
#C7A05E #BAC75E #85C75E
triadic
#BAC75E #5EBAC7 #C75EBA
tetradic
#BAC75E #5EC7A0 #6B5EC7 #C75E85
square
#BAC75E #5EC7A0 #6B5EC7 #C75E85
split-complementary
#BAC75E #5E85C7 #A05EC7
monochromatic
#747F2C #9EAC3C #BAC75E #CDD78B #E1E7B9

Accessibility & contrast

On white

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

On black

11.42
#BAC75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC75E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC75E#FFFFFF#000000##000000
##BAC75E1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac75e;
/* rgb */ color: rgb(186, 199, 94);
/* oklch */ color: oklch(79.8% 0.131 115.3);
Tailwind
colors: {
  custom: {
    50: '#d1d78f',
    500: '#bac75e',
    950: '#000000',
  },
}
SCSS
$custom: #bac75e;
$custom-light: #d1d78f;
$custom-dark: #000000;
JSON
{
  "hex": "#bac75e",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 94
  },
  "hsl": {
    "h": 67.429,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79791,
    "c": 0.13084,
    "h": 115.3
  },
  "luminance": 0.52094
}

Semantic roles & 50–950 ramp

primary
#BAC75E
secondary
#4B4387
accent
#50D861
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC75E

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

Preview Lab → · Contrast checker → · Palette generator →

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