#BAB341#BAB341

#BAB341 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.1% C 0.134 H 105.8°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#BAB341
RGBrgb(186, 179, 65)
HSLhsl(57, 48%, 49%)
HSVhsv(57, 65%, 73%)
CMYKcmyk(0%, 3.8%, 65.1%, 27.1%)
CIE-LABlab(71.60, -11.42, 56.92)
CIE-LCHlch(71.60, 58.05, 101.35°)
OKLaboklab(75.12% -0.0364 0.1286)
OKLCHoklch(75.12% 0.134 105.8)
XYZxyz(37.3253, 43.0622, 11.3457)
Luminance0.4306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB341 #4148BA
analogous
#BA7741 #BAB341 #85BA41
triadic
#BAB341 #41BAB3 #B341BA
tetradic
#BAB341 #41BA77 #4148BA #BA4185
square
#BAB341 #41BA77 #4148BA #BA4185
split-complementary
#BAB341 #4185BA #7741BA
monochromatic
#5F5C21 #8D8731 #BAB341 #CCC66C #DCD89A

Accessibility & contrast

On white

2.18
#BAB341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#BAB341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB341
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB341#FFFFFF#000000##000000
##BAB3411.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD32
Deuteranopia (green-blind)
#C5B248
Tritanopia (blue-blind)
#C7A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab341;
/* rgb */ color: rgb(186, 179, 65);
/* oklch */ color: oklch(75.1% 0.134 105.8);
Tailwind
colors: {
  custom: {
    50: '#d2c97b',
    500: '#bab341',
    950: '#000000',
  },
}
SCSS
$custom: #bab341;
$custom-light: #d2c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#bab341",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 56.529,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75122,
    "c": 0.13369,
    "h": 105.8
  },
  "luminance": 0.43061
}

Semantic roles & 50–950 ramp

primary
#BAB341
secondary
#8F92C8
accent
#58D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB341

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

Preview Lab → · Contrast checker → · Palette generator →

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