#BAAA4B#BAAA4B

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

Color values

HEX#BAAA4B
RGBrgb(186, 170, 75)
HSLhsl(51, 45%, 51%)
HSVhsv(51, 60%, 73%)
CMYKcmyk(0%, 8.6%, 59.7%, 27.1%)
CIE-LABlab(69.25, -6.06, 49.98)
CIE-LCHlch(69.25, 50.34, 96.91°)
OKLaboklab(73.29% -0.02 0.1153)
OKLCHoklch(73.29% 0.117 99.8)
XYZxyz(35.8958, 39.6980, 12.4269)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA4B #4B5BBA
analogous
#BA724B #BAAA4B #92BA4B
triadic
#BAAA4B #4BBAAA #AA4BBA
tetradic
#BAAA4B #4BBA72 #4B5BBA #BA4B92
square
#BAAA4B #4BBA72 #4B5BBA #BA4B92
split-complementary
#BAAA4B #4B92BA #724BBA
monochromatic
#645B26 #908437 #BAAA4B #CBBF77 #DCD4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAA4B#FFFFFF#000000##000000
##BAAA4B1.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)
#B9A641
Deuteranopia (green-blind)
#BDAC50
Tritanopia (blue-blind)
#C79F95
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa4b;
/* rgb */ color: rgb(186, 170, 75);
/* oklch */ color: oklch(73.3% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#d1c381',
    500: '#baaa4b',
    950: '#000000',
  },
}
SCSS
$custom: #baaa4b;
$custom-light: #d1c381;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa4b",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 75
  },
  "hsl": {
    "h": 51.351,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73288,
    "c": 0.11706,
    "h": 99.8
  },
  "luminance": 0.39697
}

Semantic roles & 50–950 ramp

primary
#BAAA4B
secondary
#989FC9
accent
#66D454
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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