#BAB745#BAB745

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

Color values

HEX#BAB745
RGBrgb(186, 183, 69)
HSLhsl(58, 46%, 50%)
HSVhsv(58, 63%, 73%)
CMYKcmyk(0%, 1.6%, 62.9%, 27.1%)
CIE-LABlab(72.72, -13.23, 56.42)
CIE-LCHlch(72.72, 57.95, 103.20°)
OKLaboklab(76.02% -0.0411 0.1282)
OKLCHoklch(76.02% 0.135 107.8)
XYZxyz(38.2586, 44.7369, 12.2488)
Luminance0.4474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB745 #4548BA
analogous
#BA7D45 #BAB745 #82BA45
triadic
#BAB745 #45BAB7 #B745BA
tetradic
#BAB745 #45BA7D #4548BA #BA4582
square
#BAB745 #45BA7D #4548BA #BA4582
split-complementary
#BAB745 #4582BA #7D45BA
monochromatic
#615F24 #8D8B34 #BAB745 #CBC872 #DBDA9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB745#FFFFFF#000000##000000
##BAB7451.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)
#C5B037
Deuteranopia (green-blind)
#C7B44C
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab745;
/* rgb */ color: rgb(186, 183, 69);
/* oklch */ color: oklch(76.0% 0.135 107.8);
Tailwind
colors: {
  custom: {
    50: '#d2cc7e',
    500: '#bab745',
    950: '#000000',
  },
}
SCSS
$custom: #bab745;
$custom-light: #d2cc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bab745",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 69
  },
  "hsl": {
    "h": 58.462,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.76025,
    "c": 0.13461,
    "h": 107.8
  },
  "luminance": 0.44736
}

Semantic roles & 50–950 ramp

primary
#BAB745
secondary
#9395C8
accent
#56D652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB745

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

Preview Lab → · Contrast checker → · Palette generator →

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