#BAB557#BAB557

#BAB557 is a light, moderate yellow. Relative luminance 0.442; OKLCH L 75.8% C 0.117 H 106.1°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#BAB557
RGBrgb(186, 181, 87)
HSLhsl(57, 42%, 54%)
HSVhsv(57, 53%, 73%)
CMYKcmyk(0%, 2.7%, 53.2%, 27.1%)
CIE-LABlab(72.35, -10.87, 47.86)
CIE-LCHlch(72.35, 49.08, 102.79°)
OKLaboklab(75.78% -0.0324 0.1122)
OKLCHoklch(75.78% 0.117 106.1)
XYZxyz(38.4949, 44.1761, 15.5140)
Luminance0.4417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB557 #575CBA
analogous
#BA8357 #BAB557 #8DBA57
triadic
#BAB557 #57BAB5 #B557BA
tetradic
#BAB557 #57BA83 #575CBA #BA578D
square
#BAB557 #57BA83 #575CBA #BA578D
split-complementary
#BAB557 #578DBA #8357BA
monochromatic
#6B682C #96923E #BAB557 #CCC882 #DEDBAE

Accessibility & contrast

On white

2.14
#BAB557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#BAB557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB557
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB557#FFFFFF#000000##000000
##BAB5571.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4E
Deuteranopia (green-blind)
#C5B35C
Tritanopia (blue-blind)
#C6ABA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab557;
/* rgb */ color: rgb(186, 181, 87);
/* oklch */ color: oklch(75.8% 0.117 106.1);
Tailwind
colors: {
  custom: {
    50: '#d1cb89',
    500: '#bab557',
    950: '#000000',
  },
}
SCSS
$custom: #bab557;
$custom-light: #d1cb89;
$custom-dark: #000000;
JSON
{
  "hex": "#bab557",
  "rgb": {
    "r": 186,
    "g": 181,
    "b": 87
  },
  "hsl": {
    "h": 56.97,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75784,
    "c": 0.11676,
    "h": 106.1
  },
  "luminance": 0.44175
}

Semantic roles & 50–950 ramp

primary
#BAB557
secondary
#A1A3CC
accent
#5CD256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BAB557

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

Preview Lab → · Contrast checker → · Palette generator →

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