#BAC75D#BAC75D

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

Color values

HEX#BAC75D
RGBrgb(186, 199, 93)
HSLhsl(67, 49%, 57%)
HSVhsv(67, 53%, 78%)
CMYKcmyk(6.5%, 0%, 53.3%, 22%)
CIE-LABlab(77.33, -19.48, 50.82)
CIE-LCHlch(77.33, 54.43, 110.97°)
OKLaboklab(79.78% -0.0562 0.1192)
OKLCHoklch(79.78% 0.132 115.3)
XYZxyz(42.6496, 52.0768, 18.1589)
Luminance0.5208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC75D #6A5DC7
analogous
#C79F5D #BAC75D #85C75D
triadic
#BAC75D #5DBAC7 #C75DBA
tetradic
#BAC75D #5DC79F #6A5DC7 #C75D85
square
#BAC75D #5DC79F #6A5DC7 #C75D85
split-complementary
#BAC75D #5D85C7 #9F5DC7
monochromatic
#747E2C #9EAC3B #BAC75D #CDD78A #E1E6B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC75D#FFFFFF#000000##000000
##BAC75D1.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)
#D3BE53
Deuteranopia (green-blind)
#D2C063
Tritanopia (blue-blind)
#C4BDAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac75d;
/* rgb */ color: rgb(186, 199, 93);
/* oklch */ color: oklch(79.8% 0.132 115.3);
Tailwind
colors: {
  custom: {
    50: '#d1d78e',
    500: '#bac75d',
    950: '#000000',
  },
}
SCSS
$custom: #bac75d;
$custom-light: #d1d78e;
$custom-dark: #000000;
JSON
{
  "hex": "#bac75d",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 93
  },
  "hsl": {
    "h": 67.358,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79779,
    "c": 0.13179,
    "h": 115.3
  },
  "luminance": 0.52076
}

Semantic roles & 50–950 ramp

primary
#BAC75D
secondary
#4A4286
accent
#50D860
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC75D

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

Preview Lab → · Contrast checker → · Palette generator →

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