#BAAC4B#BAAC4B

#BAAC4B is a light, moderate yellow. Relative luminance 0.405; OKLCH L 73.7% C 0.119 H 101.2°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#BAAC4B
RGBrgb(186, 172, 75)
HSLhsl(52, 45%, 51%)
HSVhsv(52, 60%, 73%)
CMYKcmyk(0%, 7.5%, 59.7%, 27.1%)
CIE-LABlab(69.79, -7.11, 50.58)
CIE-LCHlch(69.79, 51.07, 98.01°)
OKLaboklab(73.71% -0.023 0.1166)
OKLCHoklch(73.71% 0.119 101.2)
XYZxyz(36.2736, 40.4536, 12.5529)
Luminance0.4045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAC4B #4B59BA
analogous
#BA744B #BAAC4B #90BA4B
triadic
#BAAC4B #4BBAAC #AC4BBA
tetradic
#BAAC4B #4BBA74 #4B59BA #BA4B90
square
#BAAC4B #4BBA74 #4B59BA #BA4B90
split-complementary
#BAAC4B #4B90BA #744BBA
monochromatic
#645C26 #908537 #BAAC4B #CBC077 #DCD5A3

Accessibility & contrast

On white

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

On black

9.09
#BAAC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAC4B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAC4B#FFFFFF#000000##000000
##BAAC4B1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA741
Deuteranopia (green-blind)
#BFAD50
Tritanopia (blue-blind)
#C7A197
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baac4b;
/* rgb */ color: rgb(186, 172, 75);
/* oklch */ color: oklch(73.7% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#d1c481',
    500: '#baac4b',
    950: '#000000',
  },
}
SCSS
$custom: #baac4b;
$custom-light: #d1c481;
$custom-dark: #000000;
JSON
{
  "hex": "#baac4b",
  "rgb": {
    "r": 186,
    "g": 172,
    "b": 75
  },
  "hsl": {
    "h": 52.432,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73714,
    "c": 0.11887,
    "h": 101.2
  },
  "luminance": 0.40452
}

Semantic roles & 50–950 ramp

primary
#BAAC4B
secondary
#989EC9
accent
#64D454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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