#BAC75F#BAC75F

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

Color values

HEX#BAC75F
RGBrgb(186, 199, 95)
HSLhsl(68, 48%, 58%)
HSVhsv(68, 52%, 78%)
CMYKcmyk(6.5%, 0%, 52.3%, 22%)
CIE-LABlab(77.35, -19.30, 49.91)
CIE-LCHlch(77.35, 53.51, 111.14°)
OKLaboklab(79.8% -0.0555 0.1174)
OKLCHoklch(79.8% 0.13 115.3)
XYZxyz(42.7394, 52.1127, 18.6315)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC75F #6C5FC7
analogous
#C7A05F #BAC75F #86C75F
triadic
#BAC75F #5FBAC7 #C75FBA
tetradic
#BAC75F #5FC7A0 #6C5FC7 #C75F86
square
#BAC75F #5FC7A0 #6C5FC7 #C75F86
split-complementary
#BAC75F #5F86C7 #A05FC7
monochromatic
#757F2C #9EAC3C #BAC75F #CED78C #E1E7BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC75F#FFFFFF#000000##000000
##BAC75F1.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)
#D3BE55
Deuteranopia (green-blind)
#D2C065
Tritanopia (blue-blind)
#C4BDB0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac75f;
/* rgb */ color: rgb(186, 199, 95);
/* oklch */ color: oklch(79.8% 0.130 115.3);
Tailwind
colors: {
  custom: {
    50: '#d1d78f',
    500: '#bac75f',
    950: '#000000',
  },
}
SCSS
$custom: #bac75f;
$custom-light: #d1d78f;
$custom-dark: #000000;
JSON
{
  "hex": "#bac75f",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 95
  },
  "hsl": {
    "h": 67.5,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79803,
    "c": 0.12989,
    "h": 115.3
  },
  "luminance": 0.52112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAC75F

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

Preview Lab → · Contrast checker → · Palette generator →

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