#BAB13A#BAB13A

#BAB13A is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.6% C 0.137 H 105.0°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#BAB13A
RGBrgb(186, 177, 58)
HSLhsl(56, 52%, 48%)
HSVhsv(56, 69%, 73%)
CMYKcmyk(0%, 4.8%, 68.8%, 27.1%)
CIE-LABlab(71.00, -10.79, 59.14)
CIE-LCHlch(71.00, 60.12, 100.34°)
OKLaboklab(74.63% -0.0354 0.1322)
OKLCHoklch(74.63% 0.137 105)
XYZxyz(36.7370, 42.1902, 10.2106)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB13A #3A43BA
analogous
#BA713A #BAB13A #83BA3A
triadic
#BAB13A #3ABAB1 #B13ABA
tetradic
#BAB13A #3ABA71 #3A43BA #BA3A83
square
#BAB13A #3ABA71 #3A43BA #BA3A83
split-complementary
#BAB13A #3A83BA #713ABA
monochromatic
#5D581D #8B852B #BAB13A #CEC763 #DDD892

Accessibility & contrast

On white

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

On black

9.44
#BAB13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB13A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB13A#FFFFFF#000000##000000
##BAB13A1.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab13a;
/* rgb */ color: rgb(186, 177, 58);
/* oklch */ color: oklch(74.6% 0.137 105.0);
Tailwind
colors: {
  custom: {
    50: '#d2c877',
    500: '#bab13a',
    950: '#000000',
  },
}
SCSS
$custom: #bab13a;
$custom-light: #d2c877;
$custom-dark: #000000;
JSON
{
  "hex": "#bab13a",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 58
  },
  "hsl": {
    "h": 55.781,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74631,
    "c": 0.13683,
    "h": 105
  },
  "luminance": 0.42189
}

Semantic roles & 50–950 ramp

primary
#BAB13A
secondary
#888CC8
accent
#56DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB13A

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

Preview Lab → · Contrast checker → · Palette generator →

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