#BAB041#BAB041

#BAB041 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.5% C 0.131 H 104.2°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#BAB041
RGBrgb(186, 176, 65)
HSLhsl(55, 48%, 49%)
HSVhsv(55, 65%, 73%)
CMYKcmyk(0%, 5.4%, 65.1%, 27.1%)
CIE-LABlab(70.78, -9.87, 56.06)
CIE-LCHlch(70.78, 56.93, 99.99°)
OKLaboklab(74.47% -0.032 0.1268)
OKLCHoklch(74.47% 0.131 104.2)
XYZxyz(36.7306, 41.8728, 11.1475)
Luminance0.4187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB041 #414BBA
analogous
#BA7441 #BAB041 #88BA41
triadic
#BAB041 #41BAB0 #B041BA
tetradic
#BAB041 #41BA74 #414BBA #BA4188
square
#BAB041 #41BA74 #414BBA #BA4188
split-complementary
#BAB041 #4188BA #7441BA
monochromatic
#5F5A21 #8D8531 #BAB041 #CCC46C #DCD69A

Accessibility & contrast

On white

2.24
#BAB041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#BAB041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB041
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB041#FFFFFF#000000##000000
##BAB0411.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA33
Deuteranopia (green-blind)
#C2B048
Tritanopia (blue-blind)
#C7A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bab041;
/* rgb */ color: rgb(186, 176, 65);
/* oklch */ color: oklch(74.5% 0.131 104.2);
Tailwind
colors: {
  custom: {
    50: '#d2c77b',
    500: '#bab041',
    950: '#000000',
  },
}
SCSS
$custom: #bab041;
$custom-light: #d2c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#bab041",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 65
  },
  "hsl": {
    "h": 55.041,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74474,
    "c": 0.13082,
    "h": 104.2
  },
  "luminance": 0.41871
}

Semantic roles & 50–950 ramp

primary
#BAB041
secondary
#8F94C8
accent
#5BD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB041

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

Preview Lab → · Contrast checker → · Palette generator →

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