#BAB643#BAB643

#BAB643 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.8% C 0.135 H 107.3°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#BAB643
RGBrgb(186, 182, 67)
HSLhsl(58, 47%, 50%)
HSVhsv(58, 64%, 73%)
CMYKcmyk(0%, 2.2%, 64%, 27.1%)
CIE-LABlab(72.43, -12.85, 56.95)
CIE-LCHlch(72.43, 58.38, 102.71°)
OKLaboklab(75.79% -0.0402 0.129)
OKLCHoklch(75.79% 0.135 107.3)
XYZxyz(37.9921, 44.3015, 11.8589)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB643 #4347BA
analogous
#BA7A43 #BAB643 #83BA43
triadic
#BAB643 #43BAB6 #B643BA
tetradic
#BAB643 #43BA7A #4347BA #BA4383
square
#BAB643 #43BA7A #4347BA #BA4383
split-complementary
#BAB643 #4383BA #7A43BA
monochromatic
#605E23 #8D8A33 #BAB643 #CBC86F #DBD99C

Accessibility & contrast

On white

2.13
#BAB643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#BAB643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB643
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB643#FFFFFF#000000##000000
##BAB6431.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF34
Deuteranopia (green-blind)
#C7B44A
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab643;
/* rgb */ color: rgb(186, 182, 67);
/* oklch */ color: oklch(75.8% 0.135 107.3);
Tailwind
colors: {
  custom: {
    50: '#d2cb7d',
    500: '#bab643',
    950: '#000000',
  },
}
SCSS
$custom: #bab643;
$custom-light: #d2cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bab643",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 67
  },
  "hsl": {
    "h": 57.983,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7579,
    "c": 0.13514,
    "h": 107.3
  },
  "luminance": 0.443
}

Semantic roles & 50–950 ramp

primary
#BAB643
secondary
#9193C8
accent
#56D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB643

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

Preview Lab → · Contrast checker → · Palette generator →

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