#BAB843#BAB843

#BAB843 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.2% C 0.137 H 108.3°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#BAB843
RGBrgb(186, 184, 67)
HSLhsl(59, 47%, 50%)
HSVhsv(59, 64%, 73%)
CMYKcmyk(0%, 1.1%, 64%, 27.1%)
CIE-LABlab(72.98, -13.87, 57.53)
CIE-LCHlch(72.98, 59.17, 103.55°)
OKLaboklab(76.22% -0.0431 0.1302)
OKLCHoklch(76.22% 0.137 108.3)
XYZxyz(38.4046, 45.1265, 11.9964)
Luminance0.4512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB843 #4345BA
analogous
#BA7D43 #BAB843 #80BA43
triadic
#BAB843 #43BAB8 #B843BA
tetradic
#BAB843 #43BA7D #4345BA #BA4380
square
#BAB843 #43BA7D #4345BA #BA4380
split-complementary
#BAB843 #4380BA #7D43BA
monochromatic
#605F23 #8D8B33 #BAB843 #CBCA6F #DBDA9C

Accessibility & contrast

On white

2.09
#BAB843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#BAB843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB843
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB843#FFFFFF#000000##000000
##BAB8431.002.0910.0210.02
#FFFFFF2.091.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B134
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#C7ADA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab843;
/* rgb */ color: rgb(186, 184, 67);
/* oklch */ color: oklch(76.2% 0.137 108.3);
Tailwind
colors: {
  custom: {
    50: '#d2cd7d',
    500: '#bab843',
    950: '#000000',
  },
}
SCSS
$custom: #bab843;
$custom-light: #d2cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bab843",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 67
  },
  "hsl": {
    "h": 58.992,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76225,
    "c": 0.13718,
    "h": 108.3
  },
  "luminance": 0.45125
}

Semantic roles & 50–950 ramp

primary
#BAB843
secondary
#9192C8
accent
#53D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB843

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

Preview Lab → · Contrast checker → · Palette generator →

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