#BAAB49#BAAB49

#BAAB49 is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.5% C 0.120 H 100.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#BAAB49
RGBrgb(186, 171, 73)
HSLhsl(52, 45%, 51%)
HSVhsv(52, 61%, 73%)
CMYKcmyk(0%, 8.1%, 60.8%, 27.1%)
CIE-LABlab(69.50, -6.73, 51.17)
CIE-LCHlch(69.50, 51.61, 97.49°)
OKLaboklab(73.48% -0.0221 0.1176)
OKLCHoklch(73.48% 0.12 100.7)
XYZxyz(36.0166, 40.0474, 12.1348)
Luminance0.4005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB49 #4958BA
analogous
#BA7249 #BAAB49 #91BA49
triadic
#BAAB49 #49BAAB #AB49BA
tetradic
#BAAB49 #49BA72 #4958BA #BA4991
square
#BAAB49 #49BA72 #4958BA #BA4991
split-complementary
#BAAB49 #4991BA #7249BA
monochromatic
#635B26 #8F8436 #BAAB49 #CBBF75 #DCD4A2

Accessibility & contrast

On white

2.33
#BAAB49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#BAAB49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAB49
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAB49#FFFFFF#000000##000000
##BAAB491.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA63E
Deuteranopia (green-blind)
#BEAC4E
Tritanopia (blue-blind)
#C7A096
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baab49;
/* rgb */ color: rgb(186, 171, 73);
/* oklch */ color: oklch(73.5% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#d1c380',
    500: '#baab49',
    950: '#000000',
  },
}
SCSS
$custom: #baab49;
$custom-light: #d1c380;
$custom-dark: #000000;
JSON
{
  "hex": "#baab49",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 73
  },
  "hsl": {
    "h": 52.035,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7348,
    "c": 0.1197,
    "h": 100.7
  },
  "luminance": 0.40046
}

Semantic roles & 50–950 ramp

primary
#BAAB49
secondary
#969DC8
accent
#64D553
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAB49

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

Preview Lab → · Contrast checker → · Palette generator →

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