#BAB134#BAB134

#BAB134 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.141 H 105.2°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#BAB134
RGBrgb(186, 177, 52)
HSLhsl(56, 56%, 47%)
HSVhsv(56, 72%, 73%)
CMYKcmyk(0%, 4.8%, 72%, 27.1%)
CIE-LABlab(70.96, -11.10, 61.38)
CIE-LCHlch(70.96, 62.37, 100.25°)
OKLaboklab(74.59% -0.0369 0.1358)
OKLCHoklch(74.59% 0.141 105.2)
XYZxyz(36.5932, 42.1327, 9.4530)
Luminance0.4213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB134 #343DBA
analogous
#BA6E34 #BAB134 #80BA34
triadic
#BAB134 #34BAB1 #B134BA
tetradic
#BAB134 #34BA6E #343DBA #BA3480
square
#BAB134 #34BA6E #343DBA #BA3480
split-complementary
#BAB134 #3480BA #6E34BA
monochromatic
#5A5619 #8A8327 #BAB134 #D1C95A #DED98A

Accessibility & contrast

On white

2.23
#BAB134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#BAB134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB134
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB134#FFFFFF#000000##000000
##BAB1341.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1E
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#C8A599
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab134;
/* rgb */ color: rgb(186, 177, 52);
/* oklch */ color: oklch(74.6% 0.141 105.2);
Tailwind
colors: {
  custom: {
    50: '#d2c874',
    500: '#bab134',
    950: '#000000',
  },
}
SCSS
$custom: #bab134;
$custom-light: #d2c874;
$custom-dark: #000000;
JSON
{
  "hex": "#bab134",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 55.97,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74587,
    "c": 0.14075,
    "h": 105.2
  },
  "luminance": 0.42131
}

Semantic roles & 50–950 ramp

primary
#BAB134
secondary
#8186C8
accent
#52E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB134

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

Preview Lab → · Contrast checker → · Palette generator →

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