#BAB744#BAB744

#BAB744 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.94:1 contrast (WCAG AA passes).

Color values

HEX#BAB744
RGBrgb(186, 183, 68)
HSLhsl(58, 46%, 50%)
HSVhsv(58, 63%, 73%)
CMYKcmyk(0%, 1.6%, 63.4%, 27.1%)
CIE-LABlab(72.71, -13.29, 56.83)
CIE-LCHlch(72.71, 58.36, 103.17°)
OKLaboklab(76.02% -0.0414 0.1289)
OKLCHoklch(76.02% 0.135 107.8)
XYZxyz(38.2279, 44.7246, 12.0867)
Luminance0.4472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB744 #4447BA
analogous
#BA7C44 #BAB744 #82BA44
triadic
#BAB744 #44BAB7 #B744BA
tetradic
#BAB744 #44BA7C #4447BA #BA4482
square
#BAB744 #44BA7C #4447BA #BA4482
split-complementary
#BAB744 #4482BA #7C44BA
monochromatic
#605F23 #8D8B34 #BAB744 #CBC970 #DBDA9D

Accessibility & contrast

On white

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

On black

9.94
#BAB744 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB744
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB744#FFFFFF#000000##000000
##BAB7441.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab744;
/* rgb */ color: rgb(186, 183, 68);
/* oklch */ color: oklch(76.0% 0.135 107.8);
Tailwind
colors: {
  custom: {
    50: '#d2cc7d',
    500: '#bab744',
    950: '#000000',
  },
}
SCSS
$custom: #bab744;
$custom-light: #d2cc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bab744",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 68
  },
  "hsl": {
    "h": 58.475,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76016,
    "c": 0.13539,
    "h": 107.8
  },
  "luminance": 0.44723
}

Semantic roles & 50–950 ramp

primary
#BAB744
secondary
#9294C8
accent
#55D652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB744

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

Preview Lab → · Contrast checker → · Palette generator →

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