#BAB436#BAB436

#BAB436 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.3% C 0.142 H 106.6°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#BAB436
RGBrgb(186, 180, 54)
HSLhsl(57, 55%, 47%)
HSVhsv(57, 71%, 73%)
CMYKcmyk(0%, 3.2%, 71%, 27.1%)
CIE-LABlab(71.79, -12.55, 61.45)
CIE-LCHlch(71.79, 62.71, 101.54°)
OKLaboklab(75.25% -0.0407 0.1364)
OKLCHoklch(75.25% 0.142 106.6)
XYZxyz(37.2383, 43.3493, 9.8950)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB436 #363CBA
analogous
#BA7236 #BAB436 #7EBA36
triadic
#BAB436 #36BAB4 #B436BA
tetradic
#BAB436 #36BA72 #363CBA #BA367E
square
#BAB436 #36BA72 #363CBA #BA367E
split-complementary
#BAB436 #367EBA #7236BA
monochromatic
#5B581A #8B8628 #BAB436 #D0CB5D #DEDA8D

Accessibility & contrast

On white

2.17
#BAB436 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#BAB436 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB436
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB436#FFFFFF#000000##000000
##BAB4361.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD21
Deuteranopia (green-blind)
#C6B23F
Tritanopia (blue-blind)
#C8A89B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab436;
/* rgb */ color: rgb(186, 180, 54);
/* oklch */ color: oklch(75.3% 0.142 106.6);
Tailwind
colors: {
  custom: {
    50: '#d2ca75',
    500: '#bab436',
    950: '#000000',
  },
}
SCSS
$custom: #bab436;
$custom-light: #d2ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#bab436",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 54
  },
  "hsl": {
    "h": 57.273,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75251,
    "c": 0.1423,
    "h": 106.6
  },
  "luminance": 0.43348
}

Semantic roles & 50–950 ramp

primary
#BAB436
secondary
#8487C8
accent
#50DE49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB436

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

Preview Lab → · Contrast checker → · Palette generator →

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