#BAB432#BAB432

#BAB432 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.2% C 0.145 H 106.7°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#BAB432
RGBrgb(186, 180, 50)
HSLhsl(57, 58%, 46%)
HSVhsv(57, 73%, 73%)
CMYKcmyk(0%, 3.2%, 73.1%, 27.1%)
CIE-LABlab(71.77, -12.74, 62.87)
CIE-LCHlch(71.77, 64.14, 101.45°)
OKLaboklab(75.22% -0.0417 0.1386)
OKLCHoklch(75.22% 0.145 106.7)
XYZxyz(37.1482, 43.3132, 9.4205)
Luminance0.4331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB432 #3238BA
analogous
#BA7032 #BAB432 #7CBA32
triadic
#BAB432 #32BAB4 #B432BA
tetradic
#BAB432 #32BA70 #3238BA #BA327C
square
#BAB432 #32BA70 #3238BA #BA327C
split-complementary
#BAB432 #327CBA #7032BA
monochromatic
#5A5718 #8A8525 #BAB432 #D2CD57 #DFDB88

Accessibility & contrast

On white

2.17
#BAB432 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#BAB432 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB432
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB432#FFFFFF#000000##000000
##BAB4321.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD19
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#C8A89B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab432;
/* rgb */ color: rgb(186, 180, 50);
/* oklch */ color: oklch(75.2% 0.145 106.7);
Tailwind
colors: {
  custom: {
    50: '#d2ca73',
    500: '#bab432',
    950: '#000000',
  },
}
SCSS
$custom: #bab432;
$custom-light: #d2ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#bab432",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 50
  },
  "hsl": {
    "h": 57.353,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75224,
    "c": 0.14475,
    "h": 106.7
  },
  "luminance": 0.43312
}

Semantic roles & 50–950 ramp

primary
#BAB432
secondary
#7F82C9
accent
#4EE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB432

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

Preview Lab → · Contrast checker → · Palette generator →

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