#BAC752#BAC752

#BAC752 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.7% C 0.142 H 115.0°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#BAC752
RGBrgb(186, 199, 82)
HSLhsl(67, 51%, 55%)
HSVhsv(67, 59%, 78%)
CMYKcmyk(6.5%, 0%, 58.8%, 22%)
CIE-LABlab(77.22, -20.37, 55.68)
CIE-LCHlch(77.22, 59.29, 110.10°)
OKLaboklab(79.66% -0.0598 0.1284)
OKLCHoklch(79.66% 0.142 115)
XYZxyz(42.1970, 51.8958, 15.7750)
Luminance0.5190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC752 #5F52C7
analogous
#C79A52 #BAC752 #7FC752
triadic
#BAC752 #52BAC7 #C752BA
tetradic
#BAC752 #52C79A #5F52C7 #C7527F
square
#BAC752 #52C79A #5F52C7 #C7527F
split-complementary
#BAC752 #527FC7 #9A52C7
monochromatic
#6F7827 #9AA636 #BAC752 #CCD680 #DFE5AE

Accessibility & contrast

On white

1.85
#BAC752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#BAC752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC752
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC752#FFFFFF#000000##000000
##BAC7521.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D3C059
Tritanopia (blue-blind)
#C5BCAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac752;
/* rgb */ color: rgb(186, 199, 82);
/* oklch */ color: oklch(79.7% 0.142 115.0);
Tailwind
colors: {
  custom: {
    50: '#d1d787',
    500: '#bac752',
    950: '#000000',
  },
}
SCSS
$custom: #bac752;
$custom-light: #d1d787;
$custom-dark: #000000;
JSON
{
  "hex": "#bac752",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 66.667,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79657,
    "c": 0.14165,
    "h": 115
  },
  "luminance": 0.51895
}

Semantic roles & 50–950 ramp

primary
#BAC752
secondary
#443D80
accent
#4DDB5D
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC752

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

Preview Lab → · Contrast checker → · Palette generator →

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