#BAC045#BAC045

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

Color values

HEX#BAC045
RGBrgb(186, 192, 69)
HSLhsl(63, 49%, 51%)
HSVhsv(63, 64%, 75%)
CMYKcmyk(3.1%, 0%, 64.1%, 24.7%)
CIE-LABlab(75.18, -17.79, 59.01)
CIE-LCHlch(75.18, 61.64, 106.77°)
OKLaboklab(77.99% -0.0539 0.1337)
OKLCHoklch(77.99% 0.144 112)
XYZxyz(40.1747, 48.5690, 12.8875)
Luminance0.4857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC045 #4B45C0
analogous
#C08845 #BAC045 #7CC045
triadic
#BAC045 #45BAC0 #C045BA
tetradic
#BAC045 #45C088 #4B45C0 #C0457C
square
#BAC045 #45C088 #4B45C0 #C0457C
split-complementary
#BAC045 #457CC0 #8845C0
monochromatic
#646823 #909533 #BAC045 #CBCF73 #DCDFA0

Accessibility & contrast

On white

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

On black

10.71
#BAC045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC045
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC045#FFFFFF#000000##000000
##BAC0451.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac045;
/* rgb */ color: rgb(186, 192, 69);
/* oklch */ color: oklch(78.0% 0.144 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d27f',
    500: '#bac045',
    950: '#000000',
  },
}
SCSS
$custom: #bac045;
$custom-light: #d2d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#bac045",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 62.927,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77993,
    "c": 0.14414,
    "h": 112
  },
  "luminance": 0.48568
}

Semantic roles & 50–950 ramp

primary
#BAC045
secondary
#9895CC
accent
#4FD956
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC045

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

Preview Lab → · Contrast checker → · Palette generator →

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