#BAB736#BAB736

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

Color values

HEX#BAB736
RGBrgb(186, 183, 54)
HSLhsl(59, 55%, 47%)
HSVhsv(59, 71%, 73%)
CMYKcmyk(0%, 1.6%, 71%, 27.1%)
CIE-LABlab(72.61, -14.08, 62.24)
CIE-LCHlch(72.61, 63.82, 102.75°)
OKLaboklab(75.9% -0.045 0.138)
OKLCHoklch(75.9% 0.145 108.1)
XYZxyz(37.8504, 44.5736, 10.0991)
Luminance0.4457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB736 #3639BA
analogous
#BA7536 #BAB736 #7BBA36
triadic
#BAB736 #36BAB7 #B736BA
tetradic
#BAB736 #36BA75 #3639BA #BA367B
square
#BAB736 #36BA75 #3639BA #BA367B
split-complementary
#BAB736 #367BBA #7536BA
monochromatic
#5B5A1A #8B8828 #BAB736 #D0CD5D #DEDC8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB736#FFFFFF#000000##000000
##BAB7361.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)
#C6B020
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab736;
/* rgb */ color: rgb(186, 183, 54);
/* oklch */ color: oklch(75.9% 0.145 108.1);
Tailwind
colors: {
  custom: {
    50: '#d2cc76',
    500: '#bab736',
    950: '#000000',
  },
}
SCSS
$custom: #bab736;
$custom-light: #d2cc76;
$custom-dark: #000000;
JSON
{
  "hex": "#bab736",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 54
  },
  "hsl": {
    "h": 58.636,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75904,
    "c": 0.14521,
    "h": 108.1
  },
  "luminance": 0.44572
}

Semantic roles & 50–950 ramp

primary
#BAB736
secondary
#8485C8
accent
#4DDE49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB736

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

Preview Lab → · Contrast checker → · Palette generator →

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