#BAB641#BAB641

#BAB641 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.8% C 0.137 H 107.4°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#BAB641
RGBrgb(186, 182, 65)
HSLhsl(58, 48%, 49%)
HSVhsv(58, 65%, 73%)
CMYKcmyk(0%, 2.2%, 65.1%, 27.1%)
CIE-LABlab(72.41, -12.97, 57.77)
CIE-LCHlch(72.41, 59.20, 102.65°)
OKLaboklab(75.77% -0.0408 0.1304)
OKLCHoklch(75.77% 0.137 107.4)
XYZxyz(37.9331, 44.2779, 11.5483)
Luminance0.4428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB641 #4145BA
analogous
#BA7A41 #BAB641 #81BA41
triadic
#BAB641 #41BAB6 #B641BA
tetradic
#BAB641 #41BA7A #4145BA #BA4181
square
#BAB641 #41BA7A #4145BA #BA4181
split-complementary
#BAB641 #4181BA #7A41BA
monochromatic
#5F5D21 #8D8A31 #BAB641 #CCC96C #DCD99A

Accessibility & contrast

On white

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

On black

9.86
#BAB641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB641
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB641#FFFFFF#000000##000000
##BAB6411.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF31
Deuteranopia (green-blind)
#C7B448
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab641;
/* rgb */ color: rgb(186, 182, 65);
/* oklch */ color: oklch(75.8% 0.137 107.4);
Tailwind
colors: {
  custom: {
    50: '#d2cb7c',
    500: '#bab641',
    950: '#000000',
  },
}
SCSS
$custom: #bab641;
$custom-light: #d2cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bab641",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 65
  },
  "hsl": {
    "h": 58.017,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75772,
    "c": 0.13666,
    "h": 107.4
  },
  "luminance": 0.44277
}

Semantic roles & 50–950 ramp

primary
#BAB641
secondary
#8F91C8
accent
#55D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB641

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

Preview Lab → · Contrast checker → · Palette generator →

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