#BAC052#BAC052

#BAC052 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.1% C 0.134 H 112.0°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#BAC052
RGBrgb(186, 192, 82)
HSLhsl(63, 47%, 54%)
HSVhsv(63, 57%, 75%)
CMYKcmyk(3.1%, 0%, 57.3%, 24.7%)
CIE-LABlab(75.29, -16.88, 53.54)
CIE-LCHlch(75.29, 56.14, 107.50°)
OKLaboklab(78.12% -0.05 0.1238)
OKLCHoklch(78.12% 0.134 112)
XYZxyz(40.6233, 48.7484, 15.2504)
Luminance0.4875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC052 #5852C0
analogous
#C08F52 #BAC052 #83C052
triadic
#BAC052 #52BAC0 #C052BA
tetradic
#BAC052 #52C08F #5852C0 #C05283
square
#BAC052 #52C08F #5852C0 #C05283
split-complementary
#BAC052 #5283C0 #8F52C0
monochromatic
#6B6F28 #979C39 #BAC052 #CCD07F #DEE1AC

Accessibility & contrast

On white

1.95
#BAC052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#BAC052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC052
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC052#FFFFFF#000000##000000
##BAC0521.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB846
Deuteranopia (green-blind)
#CEBB58
Tritanopia (blue-blind)
#C5B5A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac052;
/* rgb */ color: rgb(186, 192, 82);
/* oklch */ color: oklch(78.1% 0.134 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d287',
    500: '#bac052',
    950: '#000000',
  },
}
SCSS
$custom: #bac052;
$custom-light: #d1d287;
$custom-dark: #000000;
JSON
{
  "hex": "#bac052",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 63.273,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78118,
    "c": 0.13354,
    "h": 112
  },
  "luminance": 0.48748
}

Semantic roles & 50–950 ramp

primary
#BAC052
secondary
#A29FCE
accent
#52D659
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #BAC052

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

Preview Lab → · Contrast checker → · Palette generator →

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