#BAB554#BAB554

#BAB554 is a light, moderate yellow. Relative luminance 0.441; OKLCH L 75.7% C 0.120 H 106.2°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#BAB554
RGBrgb(186, 181, 84)
HSLhsl(57, 43%, 53%)
HSVhsv(57, 55%, 73%)
CMYKcmyk(0%, 2.7%, 54.8%, 27.1%)
CIE-LABlab(72.31, -11.11, 49.24)
CIE-LCHlch(72.31, 50.48, 102.72°)
OKLaboklab(75.75% -0.0334 0.1149)
OKLCHoklch(75.75% 0.12 106.2)
XYZxyz(38.3749, 44.1281, 14.8819)
Luminance0.4413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB554 #5459BA
analogous
#BA8254 #BAB554 #8CBA54
triadic
#BAB554 #54BAB5 #B554BA
tetradic
#BAB554 #54BA82 #5459BA #BA548C
square
#BAB554 #54BA82 #5459BA #BA548C
split-complementary
#BAB554 #548CBA #8254BA
monochromatic
#69662A #95903C #BAB554 #CCC880 #DDDBAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB554#FFFFFF#000000##000000
##BAB5541.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)
#C3AF4A
Deuteranopia (green-blind)
#C5B359
Tritanopia (blue-blind)
#C6AB9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab554;
/* rgb */ color: rgb(186, 181, 84);
/* oklch */ color: oklch(75.7% 0.120 106.2);
Tailwind
colors: {
  custom: {
    50: '#d1cb87',
    500: '#bab554',
    950: '#000000',
  },
}
SCSS
$custom: #bab554;
$custom-light: #d1cb87;
$custom-dark: #000000;
JSON
{
  "hex": "#bab554",
  "rgb": {
    "r": 186,
    "g": 181,
    "b": 84
  },
  "hsl": {
    "h": 57.059,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75748,
    "c": 0.11961,
    "h": 106.2
  },
  "luminance": 0.44127
}

Semantic roles & 50–950 ramp

primary
#BAB554
secondary
#9FA1CB
accent
#5CD256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB554

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

Preview Lab → · Contrast checker → · Palette generator →

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