#BAB932#BAB932

#BAB932 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.150 H 109.0°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#BAB932
RGBrgb(186, 185, 50)
HSLhsl(60, 58%, 46%)
HSVhsv(60, 73%, 73%)
CMYKcmyk(0%, 0.5%, 73.1%, 27.1%)
CIE-LABlab(73.13, -15.29, 64.16)
CIE-LCHlch(73.13, 65.96, 103.40°)
OKLaboklab(76.32% -0.0488 0.1414)
OKLCHoklch(76.32% 0.15 109)
XYZxyz(38.1758, 45.3685, 9.7630)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB932 #3233BA
analogous
#BA7532 #BAB932 #77BA32
triadic
#BAB932 #32BAB9 #B932BA
tetradic
#BAB932 #32BA75 #3233BA #BA3277
square
#BAB932 #32BA75 #3233BA #BA3277
split-complementary
#BAB932 #3277BA #7532BA
monochromatic
#5A5918 #8A8925 #BAB932 #D2D157 #DFDE88

Accessibility & contrast

On white

2.08
#BAB932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#BAB932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB932
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB932#FFFFFF#000000##000000
##BAB9321.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B117
Deuteranopia (green-blind)
#CAB63D
Tritanopia (blue-blind)
#C7AD9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bab932;
/* rgb */ color: rgb(186, 185, 50);
/* oklch */ color: oklch(76.3% 0.150 109.0);
Tailwind
colors: {
  custom: {
    50: '#d2cd74',
    500: '#bab932',
    950: '#000000',
  },
}
SCSS
$custom: #bab932;
$custom-light: #d2cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#bab932",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 50
  },
  "hsl": {
    "h": 59.559,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76315,
    "c": 0.14957,
    "h": 109
  },
  "luminance": 0.45367
}

Semantic roles & 50–950 ramp

primary
#BAB932
secondary
#7F80C9
accent
#48E147
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB932

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

Preview Lab → · Contrast checker → · Palette generator →

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