#BAC048#BAC048

#BAC048 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.0% C 0.142 H 112.0°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#BAC048
RGBrgb(186, 192, 72)
HSLhsl(63, 49%, 52%)
HSVhsv(63, 63%, 75%)
CMYKcmyk(3.1%, 0%, 62.5%, 24.7%)
CIE-LABlab(75.21, -17.59, 57.79)
CIE-LCHlch(75.21, 60.41, 106.93°)
OKLaboklab(78.02% -0.0531 0.1315)
OKLCHoklch(78.02% 0.142 112)
XYZxyz(40.2701, 48.6072, 13.3904)
Luminance0.4861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC048 #4E48C0
analogous
#C08A48 #BAC048 #7EC048
triadic
#BAC048 #48BAC0 #C048BA
tetradic
#BAC048 #48C08A #4E48C0 #C0487E
square
#BAC048 #48C08A #4E48C0 #C0487E
split-complementary
#BAC048 #487EC0 #8A48C0
monochromatic
#666924 #929734 #BAC048 #CBD076 #DCDFA3

Accessibility & contrast

On white

1.96
#BAC048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#BAC048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC048
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC048#FFFFFF#000000##000000
##BAC0481.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB839
Deuteranopia (green-blind)
#CEBB50
Tritanopia (blue-blind)
#C6B5A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac048;
/* rgb */ color: rgb(186, 192, 72);
/* oklch */ color: oklch(78.0% 0.142 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d280',
    500: '#bac048',
    950: '#000000',
  },
}
SCSS
$custom: #bac048;
$custom-light: #d2d280;
$custom-dark: #000000;
JSON
{
  "hex": "#bac048",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 63,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78019,
    "c": 0.14185,
    "h": 112
  },
  "luminance": 0.48606
}

Semantic roles & 50–950 ramp

primary
#BAC048
secondary
#9A98CC
accent
#4FD856
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #BAC048

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

Preview Lab → · Contrast checker → · Palette generator →

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