#BAB636#BAB636

#BAB636 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.144 H 107.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#BAB636
RGBrgb(186, 182, 54)
HSLhsl(58, 55%, 47%)
HSVhsv(58, 71%, 73%)
CMYKcmyk(0%, 2.2%, 71%, 27.1%)
CIE-LABlab(72.34, -13.57, 61.98)
CIE-LCHlch(72.34, 63.45, 102.35°)
OKLaboklab(75.69% -0.0436 0.1375)
OKLCHoklch(75.69% 0.144 107.6)
XYZxyz(37.6449, 44.1626, 10.0306)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB636 #363ABA
analogous
#BA7436 #BAB636 #7CBA36
triadic
#BAB636 #36BAB6 #B636BA
tetradic
#BAB636 #36BA74 #363ABA #BA367C
square
#BAB636 #36BA74 #363ABA #BA367C
split-complementary
#BAB636 #367CBA #7436BA
monochromatic
#5B591A #8B8828 #BAB636 #D0CD5D #DEDB8D

Accessibility & contrast

On white

2.14
#BAB636 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#BAB636 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB636
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB636#FFFFFF#000000##000000
##BAB6361.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF20
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#C7AA9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab636;
/* rgb */ color: rgb(186, 182, 54);
/* oklch */ color: oklch(75.7% 0.144 107.6);
Tailwind
colors: {
  custom: {
    50: '#d2cb76',
    500: '#bab636',
    950: '#000000',
  },
}
SCSS
$custom: #bab636;
$custom-light: #d2cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#bab636",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 54
  },
  "hsl": {
    "h": 58.182,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75686,
    "c": 0.14422,
    "h": 107.6
  },
  "luminance": 0.44161
}

Semantic roles & 50–950 ramp

primary
#BAB636
secondary
#8486C8
accent
#4EDE49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB636

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

Preview Lab → · Contrast checker → · Palette generator →

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