#BAB648#BAB648

#BAB648 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.8% C 0.131 H 107.2°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#BAB648
RGBrgb(186, 182, 72)
HSLhsl(58, 45%, 51%)
HSVhsv(58, 61%, 73%)
CMYKcmyk(0%, 2.2%, 61.3%, 27.1%)
CIE-LABlab(72.47, -12.52, 54.86)
CIE-LCHlch(72.47, 56.27, 102.85°)
OKLaboklab(75.84% -0.0387 0.1253)
OKLCHoklch(75.84% 0.131 107.2)
XYZxyz(38.1486, 44.3641, 12.6832)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB648 #484CBA
analogous
#BA7D48 #BAB648 #85BA48
triadic
#BAB648 #48BAB6 #B648BA
tetradic
#BAB648 #48BA7D #484CBA #BA4885
square
#BAB648 #48BA7D #484CBA #BA4885
split-complementary
#BAB648 #4885BA #7D48BA
monochromatic
#626025 #8F8C36 #BAB648 #CBC874 #DCD9A1

Accessibility & contrast

On white

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

On black

9.87
#BAB648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB648
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB648#FFFFFF#000000##000000
##BAB6481.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3B
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#C7AB9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab648;
/* rgb */ color: rgb(186, 182, 72);
/* oklch */ color: oklch(75.8% 0.131 107.2);
Tailwind
colors: {
  custom: {
    50: '#d1cb80',
    500: '#bab648',
    950: '#000000',
  },
}
SCSS
$custom: #bab648;
$custom-light: #d1cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#bab648",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 72
  },
  "hsl": {
    "h": 57.895,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75836,
    "c": 0.13118,
    "h": 107.2
  },
  "luminance": 0.44363
}

Semantic roles & 50–950 ramp

primary
#BAB648
secondary
#9697C8
accent
#57D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB648

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

Preview Lab → · Contrast checker → · Palette generator →

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