#BAB734#BAB734

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

Color values

HEX#BAB734
RGBrgb(186, 183, 52)
HSLhsl(59, 56%, 47%)
HSVhsv(59, 72%, 73%)
CMYKcmyk(0%, 1.6%, 72%, 27.1%)
CIE-LABlab(72.60, -14.18, 62.95)
CIE-LCHlch(72.60, 64.53, 102.69°)
OKLaboklab(75.89% -0.0455 0.1392)
OKLCHoklch(75.89% 0.146 108.1)
XYZxyz(37.8044, 44.5552, 9.8568)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB734 #3437BA
analogous
#BA7434 #BAB734 #7ABA34
triadic
#BAB734 #34BAB7 #B734BA
tetradic
#BAB734 #34BA74 #3437BA #BA347A
square
#BAB734 #34BA74 #3437BA #BA347A
split-complementary
#BAB734 #347ABA #7434BA
monochromatic
#5A5919 #8A8827 #BAB734 #D1CE5A #DEDC8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB734#FFFFFF#000000##000000
##BAB7341.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)
#C6B01C
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab734;
/* rgb */ color: rgb(186, 183, 52);
/* oklch */ color: oklch(75.9% 0.146 108.1);
Tailwind
colors: {
  custom: {
    50: '#d2cc75',
    500: '#bab734',
    950: '#000000',
  },
}
SCSS
$custom: #bab734;
$custom-light: #d2cc75;
$custom-dark: #000000;
JSON
{
  "hex": "#bab734",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 52
  },
  "hsl": {
    "h": 58.657,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75891,
    "c": 0.14643,
    "h": 108.1
  },
  "luminance": 0.44554
}

Semantic roles & 50–950 ramp

primary
#BAB734
secondary
#8183C8
accent
#4CE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB734

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

Preview Lab → · Contrast checker → · Palette generator →

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