#BAB632#BAB632

#BAB632 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.7% C 0.147 H 107.7°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#BAB632
RGBrgb(186, 182, 50)
HSLhsl(58, 58%, 46%)
HSVhsv(58, 73%, 73%)
CMYKcmyk(0%, 2.2%, 73.1%, 27.1%)
CIE-LABlab(72.31, -13.76, 63.38)
CIE-LCHlch(72.31, 64.86, 102.25°)
OKLaboklab(75.66% -0.0445 0.1397)
OKLCHoklch(75.66% 0.147 107.7)
XYZxyz(37.5548, 44.1266, 9.5560)
Luminance0.4412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB632 #3236BA
analogous
#BA7232 #BAB632 #7ABA32
triadic
#BAB632 #32BAB6 #B632BA
tetradic
#BAB632 #32BA72 #3236BA #BA327A
square
#BAB632 #32BA72 #3236BA #BA327A
split-complementary
#BAB632 #327ABA #7232BA
monochromatic
#5A5818 #8A8725 #BAB632 #D2CE57 #DFDC88

Accessibility & contrast

On white

2.14
#BAB632 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#BAB632 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB632
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB632#FFFFFF#000000##000000
##BAB6321.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF18
Deuteranopia (green-blind)
#C8B43C
Tritanopia (blue-blind)
#C8AA9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab632;
/* rgb */ color: rgb(186, 182, 50);
/* oklch */ color: oklch(75.7% 0.147 107.7);
Tailwind
colors: {
  custom: {
    50: '#d2cb74',
    500: '#bab632',
    950: '#000000',
  },
}
SCSS
$custom: #bab632;
$custom-light: #d2cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#bab632",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 50
  },
  "hsl": {
    "h": 58.235,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7566,
    "c": 0.14665,
    "h": 107.7
  },
  "luminance": 0.44125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB632

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

Preview Lab → · Contrast checker → · Palette generator →

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