#BAB732#BAB732

#BAB732 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.148 H 108.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#BAB732
RGBrgb(186, 183, 50)
HSLhsl(59, 58%, 46%)
HSVhsv(59, 73%, 73%)
CMYKcmyk(0%, 1.6%, 73.1%, 27.1%)
CIE-LABlab(72.59, -14.27, 63.64)
CIE-LCHlch(72.59, 65.22, 102.64°)
OKLaboklab(75.88% -0.046 0.1403)
OKLCHoklch(75.88% 0.148 108.1)
XYZxyz(37.7603, 44.5376, 9.6245)
Luminance0.4454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB732 #3235BA
analogous
#BA7332 #BAB732 #79BA32
triadic
#BAB732 #32BAB7 #B732BA
tetradic
#BAB732 #32BA73 #3235BA #BA3279
square
#BAB732 #32BA73 #3235BA #BA3279
split-complementary
#BAB732 #3279BA #7332BA
monochromatic
#5A5818 #8A8825 #BAB732 #D2CF57 #DFDD88

Accessibility & contrast

On white

2.12
#BAB732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#BAB732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB732
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB732#FFFFFF#000000##000000
##BAB7321.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B018
Deuteranopia (green-blind)
#C8B43C
Tritanopia (blue-blind)
#C8AB9D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab732;
/* rgb */ color: rgb(186, 183, 50);
/* oklch */ color: oklch(75.9% 0.148 108.1);
Tailwind
colors: {
  custom: {
    50: '#d2cc74',
    500: '#bab732',
    950: '#000000',
  },
}
SCSS
$custom: #bab732;
$custom-light: #d2cc74;
$custom-dark: #000000;
JSON
{
  "hex": "#bab732",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 50
  },
  "hsl": {
    "h": 58.676,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75878,
    "c": 0.14762,
    "h": 108.1
  },
  "luminance": 0.44536
}

Semantic roles & 50–950 ramp

primary
#BAB732
secondary
#7F81C9
accent
#4AE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB732

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

Preview Lab → · Contrast checker → · Palette generator →

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