#BAAA4A#BAAA4A

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

Color values

HEX#BAAA4A
RGBrgb(186, 170, 74)
HSLhsl(51, 45%, 51%)
HSVhsv(51, 60%, 73%)
CMYKcmyk(0%, 8.6%, 60.2%, 27.1%)
CIE-LABlab(69.24, -6.13, 50.43)
CIE-LCHlch(69.24, 50.80, 96.93°)
OKLaboklab(73.28% -0.0203 0.1162)
OKLCHoklch(73.28% 0.118 99.9)
XYZxyz(35.8618, 39.6845, 12.2481)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA4A #4A5ABA
analogous
#BA724A #BAAA4A #92BA4A
triadic
#BAAA4A #4ABAAA #AA4ABA
tetradic
#BAAA4A #4ABA72 #4A5ABA #BA4A92
square
#BAAA4A #4ABA72 #4A5ABA #BA4A92
split-complementary
#BAAA4A #4A92BA #724ABA
monochromatic
#645B26 #908337 #BAAA4A #CBBF76 #DCD4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAA4A#FFFFFF#000000##000000
##BAAA4A1.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)
#B9A640
Deuteranopia (green-blind)
#BDAC4F
Tritanopia (blue-blind)
#C79F95
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa4a;
/* rgb */ color: rgb(186, 170, 74);
/* oklch */ color: oklch(73.3% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#d1c380',
    500: '#baaa4a',
    950: '#000000',
  },
}
SCSS
$custom: #baaa4a;
$custom-light: #d1c380;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa4a",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 74
  },
  "hsl": {
    "h": 51.429,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73277,
    "c": 0.11793,
    "h": 99.9
  },
  "luminance": 0.39683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAAA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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