#BAAB4B#BAAB4B

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

Color values

HEX#BAAB4B
RGBrgb(186, 171, 75)
HSLhsl(52, 45%, 51%)
HSVhsv(52, 60%, 73%)
CMYKcmyk(0%, 8.1%, 59.7%, 27.1%)
CIE-LABlab(69.52, -6.59, 50.28)
CIE-LCHlch(69.52, 50.71, 97.46°)
OKLaboklab(73.5% -0.0215 0.116)
OKLCHoklch(73.5% 0.118 100.5)
XYZxyz(36.0840, 40.0744, 12.4897)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB4B #4B5ABA
analogous
#BA734B #BAAB4B #91BA4B
triadic
#BAAB4B #4BBAAB #AB4BBA
tetradic
#BAAB4B #4BBA73 #4B5ABA #BA4B91
square
#BAAB4B #4BBA73 #4B5ABA #BA4B91
split-complementary
#BAAB4B #4B91BA #734BBA
monochromatic
#645C26 #908437 #BAAB4B #CBC077 #DCD4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAB4B#FFFFFF#000000##000000
##BAAB4B1.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)
#BAA641
Deuteranopia (green-blind)
#BEAC50
Tritanopia (blue-blind)
#C7A096
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baab4b;
/* rgb */ color: rgb(186, 171, 75);
/* oklch */ color: oklch(73.5% 0.118 100.5);
Tailwind
colors: {
  custom: {
    50: '#d1c381',
    500: '#baab4b',
    950: '#000000',
  },
}
SCSS
$custom: #baab4b;
$custom-light: #d1c381;
$custom-dark: #000000;
JSON
{
  "hex": "#baab4b",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 75
  },
  "hsl": {
    "h": 51.892,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73501,
    "c": 0.11795,
    "h": 100.5
  },
  "luminance": 0.40073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAAB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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