#BAB934#BAB934

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

Color values

HEX#BAB934
RGBrgb(186, 185, 52)
HSLhsl(60, 56%, 47%)
HSVhsv(60, 72%, 73%)
CMYKcmyk(0%, 0.5%, 72%, 27.1%)
CIE-LABlab(73.15, -15.20, 63.48)
CIE-LCHlch(73.15, 65.27, 103.46°)
OKLaboklab(76.33% -0.0484 0.1403)
OKLCHoklch(76.33% 0.148 109)
XYZxyz(38.2199, 45.3861, 9.9953)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB934 #3435BA
analogous
#BA7634 #BAB934 #78BA34
triadic
#BAB934 #34BAB9 #B934BA
tetradic
#BAB934 #34BA76 #3435BA #BA3478
square
#BAB934 #34BA76 #3435BA #BA3478
split-complementary
#BAB934 #3478BA #7634BA
monochromatic
#5A5A19 #8A8927 #BAB934 #D1D05A #DEDE8A

Accessibility & contrast

On white

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

On black

10.08
#BAB934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB934
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB934#FFFFFF#000000##000000
##BAB9341.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab934;
/* rgb */ color: rgb(186, 185, 52);
/* oklch */ color: oklch(76.3% 0.148 109.0);
Tailwind
colors: {
  custom: {
    50: '#d2cd75',
    500: '#bab934',
    950: '#000000',
  },
}
SCSS
$custom: #bab934;
$custom-light: #d2cd75;
$custom-dark: #000000;
JSON
{
  "hex": "#bab934",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 52
  },
  "hsl": {
    "h": 59.552,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76328,
    "c": 0.14839,
    "h": 109
  },
  "luminance": 0.45385
}

Semantic roles & 50–950 ramp

primary
#BAB934
secondary
#8182C8
accent
#49E048
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB934

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

Preview Lab → · Contrast checker → · Palette generator →

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