#BAB343#BAB343

#BAB343 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.1% C 0.132 H 105.7°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#BAB343
RGBrgb(186, 179, 67)
HSLhsl(56, 47%, 50%)
HSVhsv(56, 64%, 73%)
CMYKcmyk(0%, 3.8%, 64%, 27.1%)
CIE-LABlab(71.61, -11.30, 56.09)
CIE-LCHlch(71.61, 57.22, 101.39°)
OKLaboklab(75.14% -0.0358 0.1272)
OKLCHoklch(75.14% 0.132 105.7)
XYZxyz(37.3843, 43.0858, 11.6563)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB343 #434ABA
analogous
#BA7843 #BAB343 #85BA43
triadic
#BAB343 #43BAB3 #B343BA
tetradic
#BAB343 #43BA78 #434ABA #BA4385
square
#BAB343 #43BA78 #434ABA #BA4385
split-complementary
#BAB343 #4385BA #7843BA
monochromatic
#605C23 #8D8833 #BAB343 #CBC66F #DBD89C

Accessibility & contrast

On white

2.18
#BAB343 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#BAB343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB343
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB343#FFFFFF#000000##000000
##BAB3431.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD35
Deuteranopia (green-blind)
#C5B24A
Tritanopia (blue-blind)
#C7A89C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab343;
/* rgb */ color: rgb(186, 179, 67);
/* oklch */ color: oklch(75.1% 0.132 105.7);
Tailwind
colors: {
  custom: {
    50: '#d2c97d',
    500: '#bab343',
    950: '#000000',
  },
}
SCSS
$custom: #bab343;
$custom-light: #d2c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#bab343",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 67
  },
  "hsl": {
    "h": 56.471,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7514,
    "c": 0.13215,
    "h": 105.7
  },
  "luminance": 0.43085
}

Semantic roles & 50–950 ramp

primary
#BAB343
secondary
#9194C8
accent
#59D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB343

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

Preview Lab → · Contrast checker → · Palette generator →

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