#BAAA4C#BAAA4C

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

Color values

HEX#BAAA4C
RGBrgb(186, 170, 76)
HSLhsl(51, 44%, 51%)
HSVhsv(51, 59%, 73%)
CMYKcmyk(0%, 8.6%, 59.1%, 27.1%)
CIE-LABlab(69.26, -5.99, 49.52)
CIE-LCHlch(69.26, 49.88, 96.89°)
OKLaboklab(73.3% -0.0197 0.1145)
OKLCHoklch(73.3% 0.116 99.7)
XYZxyz(35.9303, 39.7118, 12.6086)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA4C #4C5CBA
analogous
#BA734C #BAAA4C #93BA4C
triadic
#BAAA4C #4CBAAA #AA4CBA
tetradic
#BAAA4C #4CBA73 #4C5CBA #BA4C93
square
#BAAA4C #4CBA73 #4C5CBA #BA4C93
split-complementary
#BAAA4C #4C93BA #734CBA
monochromatic
#655C27 #918438 #BAAA4C #CBBF78 #DCD4A4

Accessibility & contrast

On white

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

On black

8.94
#BAAA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA4C
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA4C#FFFFFF#000000##000000
##BAAA4C1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baaa4c;
/* rgb */ color: rgb(186, 170, 76);
/* oklch */ color: oklch(73.3% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#d1c381',
    500: '#baaa4c',
    950: '#000000',
  },
}
SCSS
$custom: #baaa4c;
$custom-light: #d1c381;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa4c",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 76
  },
  "hsl": {
    "h": 51.273,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73299,
    "c": 0.11618,
    "h": 99.7
  },
  "luminance": 0.3971
}

Semantic roles & 50–950 ramp

primary
#BAAA4C
secondary
#99A0C9
accent
#66D454
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAAA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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