#BAA548#BAA548

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

Color values

HEX#BAA548
RGBrgb(186, 165, 72)
HSLhsl(49, 45%, 51%)
HSVhsv(49, 61%, 73%)
CMYKcmyk(0%, 11.3%, 61.3%, 27.1%)
CIE-LABlab(67.89, -3.62, 49.84)
CIE-LCHlch(67.89, 49.97, 94.16°)
OKLaboklab(72.2% -0.0133 0.1147)
OKLCHoklch(72.2% 0.115 96.6)
XYZxyz(34.8760, 37.8189, 11.5924)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA548 #485DBA
analogous
#BA6C48 #BAA548 #96BA48
triadic
#BAA548 #48BAA5 #A548BA
tetradic
#BAA548 #48BA6C #485DBA #BA4896
square
#BAA548 #48BA6C #485DBA #BA4896
split-complementary
#BAA548 #4896BA #6C48BA
monochromatic
#625725 #8F7F36 #BAA548 #CBBB74 #DCD1A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA548#FFFFFF#000000##000000
##BAA5481.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)
#B4A13E
Deuteranopia (green-blind)
#BAA84C
Tritanopia (blue-blind)
#C89A91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #baa548;
/* rgb */ color: rgb(186, 165, 72);
/* oklch */ color: oklch(72.2% 0.115 96.6);
Tailwind
colors: {
  custom: {
    50: '#d2bf7f',
    500: '#baa548',
    950: '#000000',
  },
}
SCSS
$custom: #baa548;
$custom-light: #d2bf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#baa548",
  "rgb": {
    "r": 186,
    "g": 165,
    "b": 72
  },
  "hsl": {
    "h": 48.947,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72196,
    "c": 0.11543,
    "h": 96.6
  },
  "luminance": 0.37817
}

Semantic roles & 50–950 ramp

primary
#BAA548
secondary
#969FC8
accent
#6BD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA548

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

Preview Lab → · Contrast checker → · Palette generator →

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