#BAAB56#BAAB56

#BAAB56 is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.108 H 99.5°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#BAAB56
RGBrgb(186, 171, 86)
HSLhsl(51, 42%, 53%)
HSVhsv(51, 54%, 73%)
CMYKcmyk(0%, 8.1%, 53.8%, 27.1%)
CIE-LABlab(69.64, -5.72, 45.18)
CIE-LCHlch(69.64, 45.54, 97.22°)
OKLaboklab(73.63% -0.0177 0.1063)
OKLCHoklch(73.63% 0.108 99.5)
XYZxyz(36.4935, 40.2382, 14.6467)
Luminance0.4024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB56 #5665BA
analogous
#BA7956 #BAAB56 #97BA56
triadic
#BAAB56 #56BAAB #AB56BA
tetradic
#BAAB56 #56BA79 #5665BA #BA5697
square
#BAAB56 #56BA79 #5665BA #BA5697
split-complementary
#BAAB56 #5697BA #7956BA
monochromatic
#6A612B #96883D #BAAB56 #CCC181 #DDD6AD

Accessibility & contrast

On white

2.32
#BAAB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#BAAB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAB56
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAB56#FFFFFF#000000##000000
##BAAB561.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74E
Deuteranopia (green-blind)
#BDAD5A
Tritanopia (blue-blind)
#C7A198
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baab56;
/* rgb */ color: rgb(186, 171, 86);
/* oklch */ color: oklch(73.6% 0.108 99.5);
Tailwind
colors: {
  custom: {
    50: '#d1c388',
    500: '#baab56',
    950: '#000000',
  },
}
SCSS
$custom: #baab56;
$custom-light: #d1c388;
$custom-dark: #000000;
JSON
{
  "hex": "#baab56",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 86
  },
  "hsl": {
    "h": 51,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.73631,
    "c": 0.10773,
    "h": 99.5
  },
  "luminance": 0.40237
}

Semantic roles & 50–950 ramp

primary
#BAAB56
secondary
#A0A7CB
accent
#69D256
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAAB56

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

Preview Lab → · Contrast checker → · Palette generator →

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