#BAC245#BAC245

#BAC245 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.4% C 0.146 H 112.8°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#BAC245
RGBrgb(186, 194, 69)
HSLhsl(64, 51%, 52%)
HSVhsv(64, 64%, 76%)
CMYKcmyk(4.1%, 0%, 64.4%, 23.9%)
CIE-LABlab(75.73, -18.79, 59.59)
CIE-LCHlch(75.73, 62.48, 107.50°)
OKLaboklab(78.43% -0.0567 0.1349)
OKLCHoklch(78.43% 0.146 112.8)
XYZxyz(40.6168, 49.4532, 13.0349)
Luminance0.4945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC245 #4D45C2
analogous
#C28C45 #BAC245 #7CC245
triadic
#BAC245 #45BAC2 #C245BA
tetradic
#BAC245 #45C28C #4D45C2 #C2457C
square
#BAC245 #45C28C #4D45C2 #C2457C
split-complementary
#BAC245 #457CC2 #8C45C2
monochromatic
#656A23 #919832 #BAC245 #CBD173 #DCE0A1

Accessibility & contrast

On white

1.93
#BAC245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#BAC245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC245
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC245#FFFFFF#000000##000000
##BAC2451.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B934
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#C6B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac245;
/* rgb */ color: rgb(186, 194, 69);
/* oklch */ color: oklch(78.4% 0.146 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d47f',
    500: '#bac245',
    950: '#000000',
  },
}
SCSS
$custom: #bac245;
$custom-light: #d2d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#bac245",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 63.84,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78432,
    "c": 0.14634,
    "h": 112.8
  },
  "luminance": 0.49452
}

Semantic roles & 50–950 ramp

primary
#BAC245
secondary
#9996CD
accent
#4EDA57
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC245

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

Preview Lab → · Contrast checker → · Palette generator →

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