#BAB741#BAB741

#BAB741 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.0% C 0.138 H 107.9°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#BAB741
RGBrgb(186, 183, 65)
HSLhsl(59, 48%, 49%)
HSVhsv(59, 65%, 73%)
CMYKcmyk(0%, 1.6%, 65.1%, 27.1%)
CIE-LABlab(72.69, -13.48, 58.05)
CIE-LCHlch(72.69, 59.59, 103.07°)
OKLaboklab(75.99% -0.0422 0.131)
OKLCHoklch(75.99% 0.138 107.9)
XYZxyz(38.1386, 44.6889, 11.6168)
Luminance0.4469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB741 #4144BA
analogous
#BA7A41 #BAB741 #81BA41
triadic
#BAB741 #41BAB7 #B741BA
tetradic
#BAB741 #41BA7A #4144BA #BA4181
square
#BAB741 #41BA7A #4144BA #BA4181
split-complementary
#BAB741 #4181BA #7A41BA
monochromatic
#5F5E21 #8D8A31 #BAB741 #CCC96C #DCDA9A

Accessibility & contrast

On white

2.11
#BAB741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#BAB741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB741
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB741#FFFFFF#000000##000000
##BAB7411.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B031
Deuteranopia (green-blind)
#C8B449
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab741;
/* rgb */ color: rgb(186, 183, 65);
/* oklch */ color: oklch(76.0% 0.138 107.9);
Tailwind
colors: {
  custom: {
    50: '#d2cc7c',
    500: '#bab741',
    950: '#000000',
  },
}
SCSS
$custom: #bab741;
$custom-light: #d2cc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bab741",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 65
  },
  "hsl": {
    "h": 58.512,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7599,
    "c": 0.13766,
    "h": 107.9
  },
  "luminance": 0.44688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB741

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

Preview Lab → · Contrast checker → · Palette generator →

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