#BAB746#BAB746

#BAB746 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.0% C 0.134 H 107.7°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#BAB746
RGBrgb(186, 183, 70)
HSLhsl(58, 46%, 50%)
HSVhsv(58, 62%, 73%)
CMYKcmyk(0%, 1.6%, 62.4%, 27.1%)
CIE-LABlab(72.73, -13.17, 56.00)
CIE-LCHlch(72.73, 57.52, 103.23°)
OKLaboklab(76.03% -0.0408 0.1275)
OKLCHoklch(76.03% 0.134 107.7)
XYZxyz(38.2899, 44.7494, 12.4137)
Luminance0.4475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB746 #4649BA
analogous
#BA7D46 #BAB746 #83BA46
triadic
#BAB746 #46BAB7 #B746BA
tetradic
#BAB746 #46BA7D #4649BA #BA4683
square
#BAB746 #46BA7D #4649BA #BA4683
split-complementary
#BAB746 #4683BA #7D46BA
monochromatic
#616024 #8E8C35 #BAB746 #CBC873 #DBDA9F

Accessibility & contrast

On white

2.11
#BAB746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#BAB746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB746
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB746#FFFFFF#000000##000000
##BAB7461.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B038
Deuteranopia (green-blind)
#C7B44D
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab746;
/* rgb */ color: rgb(186, 183, 70);
/* oklch */ color: oklch(76.0% 0.134 107.7);
Tailwind
colors: {
  custom: {
    50: '#d2cc7f',
    500: '#bab746',
    950: '#000000',
  },
}
SCSS
$custom: #bab746;
$custom-light: #d2cc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#bab746",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 70
  },
  "hsl": {
    "h": 58.448,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76034,
    "c": 0.13382,
    "h": 107.7
  },
  "luminance": 0.44748
}

Semantic roles & 50–950 ramp

primary
#BAB746
secondary
#9495C8
accent
#56D552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB746

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

Preview Lab → · Contrast checker → · Palette generator →

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