#BAAB4A#BAAB4A

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

Color values

HEX#BAAB4A
RGBrgb(186, 171, 74)
HSLhsl(52, 45%, 51%)
HSVhsv(52, 60%, 73%)
CMYKcmyk(0%, 8.1%, 60.2%, 27.1%)
CIE-LABlab(69.51, -6.66, 50.73)
CIE-LCHlch(69.51, 51.16, 97.48°)
OKLaboklab(73.49% -0.0218 0.1168)
OKLCHoklch(73.49% 0.119 100.6)
XYZxyz(36.0500, 40.0608, 12.3108)
Luminance0.4006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB4A #4A59BA
analogous
#BA734A #BAAB4A #91BA4A
triadic
#BAAB4A #4ABAAB #AB4ABA
tetradic
#BAAB4A #4ABA73 #4A59BA #BA4A91
square
#BAAB4A #4ABA73 #4A59BA #BA4A91
split-complementary
#BAAB4A #4A91BA #734ABA
monochromatic
#645B26 #908437 #BAAB4A #CBC076 #DCD4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAB4A#FFFFFF#000000##000000
##BAAB4A1.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)
#BAA640
Deuteranopia (green-blind)
#BEAC4F
Tritanopia (blue-blind)
#C7A096
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baab4a;
/* rgb */ color: rgb(186, 171, 74);
/* oklch */ color: oklch(73.5% 0.119 100.6);
Tailwind
colors: {
  custom: {
    50: '#d1c380',
    500: '#baab4a',
    950: '#000000',
  },
}
SCSS
$custom: #baab4a;
$custom-light: #d1c380;
$custom-dark: #000000;
JSON
{
  "hex": "#baab4a",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 74
  },
  "hsl": {
    "h": 51.964,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7349,
    "c": 0.11883,
    "h": 100.6
  },
  "luminance": 0.40059
}

Semantic roles & 50–950 ramp

primary
#BAAB4A
secondary
#979EC9
accent
#65D553
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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