#BAAC52#BAAC52

#BAAC52 is a light, moderate yellow. Relative luminance 0.406; OKLCH L 73.8% C 0.113 H 100.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#BAAC52
RGBrgb(186, 172, 82)
HSLhsl(52, 43%, 53%)
HSVhsv(52, 56%, 73%)
CMYKcmyk(0%, 7.5%, 55.9%, 27.1%)
CIE-LABlab(69.86, -6.58, 47.37)
CIE-LCHlch(69.86, 47.83, 97.91°)
OKLaboklab(73.79% -0.0207 0.1106)
OKLCHoklch(73.79% 0.113 100.6)
XYZxyz(36.5265, 40.5547, 13.8848)
Luminance0.4055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAC52 #5260BA
analogous
#BA7852 #BAAC52 #94BA52
triadic
#BAAC52 #52BAAC #AC52BA
tetradic
#BAAC52 #52BA78 #5260BA #BA5294
square
#BAAC52 #52BA78 #5260BA #BA5294
split-complementary
#BAAC52 #5294BA #7852BA
monochromatic
#68602A #94883B #BAAC52 #CBC17E #DDD6AA

Accessibility & contrast

On white

2.31
#BAAC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#BAAC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAC52
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAC52#FFFFFF#000000##000000
##BAAC521.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA749
Deuteranopia (green-blind)
#BEAD56
Tritanopia (blue-blind)
#C7A198
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #baac52;
/* rgb */ color: rgb(186, 172, 82);
/* oklch */ color: oklch(73.8% 0.113 100.6);
Tailwind
colors: {
  custom: {
    50: '#d1c485',
    500: '#baac52',
    950: '#000000',
  },
}
SCSS
$custom: #baac52;
$custom-light: #d1c485;
$custom-dark: #000000;
JSON
{
  "hex": "#baac52",
  "rgb": {
    "r": 186,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 51.923,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.73794,
    "c": 0.1125,
    "h": 100.6
  },
  "luminance": 0.40553
}

Semantic roles & 50–950 ramp

primary
#BAAC52
secondary
#9DA3CA
accent
#66D355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAAC52

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

Preview Lab → · Contrast checker → · Palette generator →

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