#BAB133#BAB133

#BAB133 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.42:1 contrast (WCAG AA passes).

Color values

HEX#BAB133
RGBrgb(186, 177, 51)
HSLhsl(56, 57%, 46%)
HSVhsv(56, 73%, 73%)
CMYKcmyk(0%, 4.8%, 72.6%, 27.1%)
CIE-LABlab(70.96, -11.15, 61.73)
CIE-LCHlch(70.96, 62.73, 100.23°)
OKLaboklab(74.58% -0.0371 0.1364)
OKLCHoklch(74.58% 0.141 105.2)
XYZxyz(36.5709, 42.1238, 9.3357)
Luminance0.4212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB133 #333CBA
analogous
#BA6E33 #BAB133 #80BA33
triadic
#BAB133 #33BAB1 #B133BA
tetradic
#BAB133 #33BA6E #333CBA #BA3380
square
#BAB133 #33BA6E #333CBA #BA3380
split-complementary
#BAB133 #3380BA #6E33BA
monochromatic
#5A5619 #8A8326 #BAB133 #D1C959 #DFD989

Accessibility & contrast

On white

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

On black

9.42
#BAB133 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB133
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB133#FFFFFF#000000##000000
##BAB1331.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab133;
/* rgb */ color: rgb(186, 177, 51);
/* oklch */ color: oklch(74.6% 0.141 105.2);
Tailwind
colors: {
  custom: {
    50: '#d2c874',
    500: '#bab133',
    950: '#000000',
  },
}
SCSS
$custom: #bab133;
$custom-light: #d2c874;
$custom-dark: #000000;
JSON
{
  "hex": "#bab133",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 51
  },
  "hsl": {
    "h": 56,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7458,
    "c": 0.14137,
    "h": 105.2
  },
  "luminance": 0.42122
}

Semantic roles & 50–950 ramp

primary
#BAB133
secondary
#8085C9
accent
#52E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB133

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

Preview Lab → · Contrast checker → · Palette generator →

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