#BAA545#BAA545

#BAA545 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.118 H 97.0°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#BAA545
RGBrgb(186, 165, 69)
HSLhsl(49, 46%, 50%)
HSVhsv(49, 63%, 73%)
CMYKcmyk(0%, 11.3%, 62.9%, 27.1%)
CIE-LABlab(67.86, -3.83, 51.18)
CIE-LCHlch(67.86, 51.33, 94.28°)
OKLaboklab(72.16% -0.0143 0.1171)
OKLCHoklch(72.16% 0.118 97)
XYZxyz(34.7805, 37.7807, 11.0895)
Luminance0.3778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA545 #455ABA
analogous
#BA6B45 #BAA545 #94BA45
triadic
#BAA545 #45BAA5 #A545BA
tetradic
#BAA545 #45BA6B #455ABA #BA4594
square
#BAA545 #45BA6B #455ABA #BA4594
split-complementary
#BAA545 #4594BA #6B45BA
monochromatic
#615624 #8D7D34 #BAA545 #CBBB72 #DBD09E

Accessibility & contrast

On white

2.45
#BAA545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#BAA545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA545
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA545#FFFFFF#000000##000000
##BAA5451.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13A
Deuteranopia (green-blind)
#BAA84A
Tritanopia (blue-blind)
#C89990
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #baa545;
/* rgb */ color: rgb(186, 165, 69);
/* oklch */ color: oklch(72.2% 0.118 97.0);
Tailwind
colors: {
  custom: {
    50: '#d2bf7d',
    500: '#baa545',
    950: '#000000',
  },
}
SCSS
$custom: #baa545;
$custom-light: #d2bf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#baa545",
  "rgb": {
    "r": 186,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 49.231,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.72164,
    "c": 0.11797,
    "h": 97
  },
  "luminance": 0.37779
}

Semantic roles & 50–950 ramp

primary
#BAA545
secondary
#939DC8
accent
#6AD652
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA545

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

Preview Lab → · Contrast checker → · Palette generator →

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