#BAB657#BAB657

#BAB657 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 76.0% C 0.118 H 106.7°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#BAB657
RGBrgb(186, 182, 87)
HSLhsl(58, 42%, 54%)
HSVhsv(58, 53%, 73%)
CMYKcmyk(0%, 2.2%, 53.2%, 27.1%)
CIE-LABlab(72.62, -11.38, 48.18)
CIE-LCHlch(72.62, 49.50, 103.29°)
OKLaboklab(76% -0.0338 0.1129)
OKLCHoklch(76% 0.118 106.7)
XYZxyz(38.6990, 44.5842, 15.5821)
Luminance0.4458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB657 #575BBA
analogous
#BA8457 #BAB657 #8CBA57
triadic
#BAB657 #57BAB6 #B657BA
tetradic
#BAB657 #57BA84 #575BBA #BA578C
square
#BAB657 #57BA84 #575BBA #BA578C
split-complementary
#BAB657 #578CBA #8457BA
monochromatic
#6B682C #96933E #BAB657 #CCC982 #DEDCAE

Accessibility & contrast

On white

2.12
#BAB657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#BAB657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB657
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB657#FFFFFF#000000##000000
##BAB6571.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04E
Deuteranopia (green-blind)
#C5B45C
Tritanopia (blue-blind)
#C6ACA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab657;
/* rgb */ color: rgb(186, 182, 87);
/* oklch */ color: oklch(76.0% 0.118 106.7);
Tailwind
colors: {
  custom: {
    50: '#d1cb89',
    500: '#bab657',
    950: '#000000',
  },
}
SCSS
$custom: #bab657;
$custom-light: #d1cb89;
$custom-dark: #000000;
JSON
{
  "hex": "#bab657",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 87
  },
  "hsl": {
    "h": 57.576,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76,
    "c": 0.11784,
    "h": 106.7
  },
  "luminance": 0.44583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB657

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

Preview Lab → · Contrast checker → · Palette generator →

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