#BAC75C#BAC75C

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

Color values

HEX#BAC75C
RGBrgb(186, 199, 92)
HSLhsl(67, 49%, 57%)
HSVhsv(67, 54%, 78%)
CMYKcmyk(6.5%, 0%, 53.8%, 22%)
CIE-LABlab(77.32, -19.57, 51.27)
CIE-LCHlch(77.32, 54.88, 110.89°)
OKLaboklab(79.77% -0.0566 0.1201)
OKLCHoklch(79.77% 0.133 115.2)
XYZxyz(42.6056, 52.0592, 17.9271)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC75C #695CC7
analogous
#C79F5C #BAC75C #85C75C
triadic
#BAC75C #5CBAC7 #C75CBA
tetradic
#BAC75C #5CC79F #695CC7 #C75C85
square
#BAC75C #5CC79F #695CC7 #C75C85
split-complementary
#BAC75C #5C85C7 #9F5CC7
monochromatic
#737D2B #9DAB3B #BAC75C #CDD78A #E1E6B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC75C#FFFFFF#000000##000000
##BAC75C1.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)
#D3BE51
Deuteranopia (green-blind)
#D2C062
Tritanopia (blue-blind)
#C4BDAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac75c;
/* rgb */ color: rgb(186, 199, 92);
/* oklch */ color: oklch(79.8% 0.133 115.2);
Tailwind
colors: {
  custom: {
    50: '#d1d78d',
    500: '#bac75c',
    950: '#000000',
  },
}
SCSS
$custom: #bac75c;
$custom-light: #d1d78d;
$custom-dark: #000000;
JSON
{
  "hex": "#bac75c",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 92
  },
  "hsl": {
    "h": 67.29,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79767,
    "c": 0.13273,
    "h": 115.2
  },
  "luminance": 0.52059
}

Semantic roles & 50–950 ramp

primary
#BAC75C
secondary
#4A4286
accent
#4FD860
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC75C

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

Preview Lab → · Contrast checker → · Palette generator →

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