#BAAA49#BAAA49

#BAAA49 is a light, moderate yellow. Relative luminance 0.397; OKLCH L 73.3% C 0.119 H 100.0°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#BAAA49
RGBrgb(186, 170, 73)
HSLhsl(52, 45%, 51%)
HSVhsv(52, 61%, 73%)
CMYKcmyk(0%, 8.6%, 60.8%, 27.1%)
CIE-LABlab(69.23, -6.20, 50.88)
CIE-LCHlch(69.23, 51.25, 96.95°)
OKLaboklab(73.27% -0.0206 0.117)
OKLCHoklch(73.27% 0.119 100)
XYZxyz(35.8284, 39.6711, 12.0721)
Luminance0.3967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA49 #4959BA
analogous
#BA7149 #BAAA49 #92BA49
triadic
#BAAA49 #49BAAA #AA49BA
tetradic
#BAAA49 #49BA71 #4959BA #BA4992
square
#BAAA49 #49BA71 #4959BA #BA4992
split-complementary
#BAAA49 #4992BA #7149BA
monochromatic
#635A26 #8F8336 #BAAA49 #CBBF75 #DCD3A2

Accessibility & contrast

On white

2.35
#BAAA49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#BAAA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA49
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA49#FFFFFF#000000##000000
##BAAA491.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A63E
Deuteranopia (green-blind)
#BDAC4E
Tritanopia (blue-blind)
#C79F95
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa49;
/* rgb */ color: rgb(186, 170, 73);
/* oklch */ color: oklch(73.3% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#d1c37f',
    500: '#baaa49',
    950: '#000000',
  },
}
SCSS
$custom: #baaa49;
$custom-light: #d1c37f;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa49",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 73
  },
  "hsl": {
    "h": 51.504,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73266,
    "c": 0.1188,
    "h": 100
  },
  "luminance": 0.3967
}

Semantic roles & 50–950 ramp

primary
#BAAA49
secondary
#969DC8
accent
#65D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAA49

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

Preview Lab → · Contrast checker → · Palette generator →

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