#BAB733#BAB733

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

Color values

HEX#BAB733
RGBrgb(186, 183, 51)
HSLhsl(59, 57%, 46%)
HSVhsv(59, 73%, 73%)
CMYKcmyk(0%, 1.6%, 72.6%, 27.1%)
CIE-LABlab(72.59, -14.23, 63.30)
CIE-LCHlch(72.59, 64.88, 102.67°)
OKLaboklab(75.88% -0.0457 0.1397)
OKLCHoklch(75.88% 0.147 108.1)
XYZxyz(37.7822, 44.5463, 9.7394)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB733 #3336BA
analogous
#BA7433 #BAB733 #7ABA33
triadic
#BAB733 #33BAB7 #B733BA
tetradic
#BAB733 #33BA74 #3336BA #BA337A
square
#BAB733 #33BA74 #3336BA #BA337A
split-complementary
#BAB733 #337ABA #7433BA
monochromatic
#5A5819 #8A8826 #BAB733 #D1CF59 #DFDD89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB733#FFFFFF#000000##000000
##BAB7331.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)
#C6B01A
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab733;
/* rgb */ color: rgb(186, 183, 51);
/* oklch */ color: oklch(75.9% 0.147 108.1);
Tailwind
colors: {
  custom: {
    50: '#d2cc74',
    500: '#bab733',
    950: '#000000',
  },
}
SCSS
$custom: #bab733;
$custom-light: #d2cc74;
$custom-dark: #000000;
JSON
{
  "hex": "#bab733",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 51
  },
  "hsl": {
    "h": 58.667,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75884,
    "c": 0.14703,
    "h": 108.1
  },
  "luminance": 0.44545
}

Semantic roles & 50–950 ramp

primary
#BAB733
secondary
#8082C9
accent
#4BE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB733

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

Preview Lab → · Contrast checker → · Palette generator →

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