#BAB558#BAB558

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

Color values

HEX#BAB558
RGBrgb(186, 181, 88)
HSLhsl(57, 42%, 54%)
HSVhsv(57, 53%, 73%)
CMYKcmyk(0%, 2.7%, 52.7%, 27.1%)
CIE-LABlab(72.36, -10.78, 47.40)
CIE-LCHlch(72.36, 48.61, 102.82°)
OKLaboklab(75.8% -0.032 0.1113)
OKLCHoklch(75.8% 0.116 106.1)
XYZxyz(38.5361, 44.1926, 15.7307)
Luminance0.4419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB558 #585DBA
analogous
#BA8458 #BAB558 #8EBA58
triadic
#BAB558 #58BAB5 #B558BA
tetradic
#BAB558 #58BA84 #585DBA #BA588E
square
#BAB558 #58BA84 #585DBA #BA588E
split-complementary
#BAB558 #588EBA #8458BA
monochromatic
#6B682C #97923E #BAB558 #CCC883 #DEDBAF

Accessibility & contrast

On white

2.13
#BAB558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#BAB558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB558
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB558#FFFFFF#000000##000000
##BAB5581.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab558;
/* rgb */ color: rgb(186, 181, 88);
/* oklch */ color: oklch(75.8% 0.116 106.1);
Tailwind
colors: {
  custom: {
    50: '#d1cb8a',
    500: '#bab558',
    950: '#000000',
  },
}
SCSS
$custom: #bab558;
$custom-light: #d1cb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab558",
  "rgb": {
    "r": 186,
    "g": 181,
    "b": 88
  },
  "hsl": {
    "h": 56.939,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75796,
    "c": 0.1158,
    "h": 106.1
  },
  "luminance": 0.44191
}

Semantic roles & 50–950 ramp

primary
#BAB558
secondary
#A2A4CC
accent
#5DD156
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BAB558

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

Preview Lab → · Contrast checker → · Palette generator →

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