#BAB752#BAB752

#BAB752 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.2% C 0.124 H 107.4°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#BAB752
RGBrgb(186, 183, 82)
HSLhsl(58, 43%, 53%)
HSVhsv(58, 56%, 73%)
CMYKcmyk(0%, 1.6%, 55.9%, 27.1%)
CIE-LABlab(72.84, -12.30, 50.77)
CIE-LCHlch(72.84, 52.24, 103.62°)
OKLaboklab(76.16% -0.037 0.1179)
OKLCHoklch(76.16% 0.124 107.4)
XYZxyz(38.7073, 44.9164, 14.6118)
Luminance0.4491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB752 #5255BA
analogous
#BA8352 #BAB752 #89BA52
triadic
#BAB752 #52BAB7 #B752BA
tetradic
#BAB752 #52BA83 #5255BA #BA5289
square
#BAB752 #52BA83 #5255BA #BA5289
split-complementary
#BAB752 #5289BA #8352BA
monochromatic
#68662A #94913B #BAB752 #CBC97E #DDDBAA

Accessibility & contrast

On white

2.10
#BAB752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#BAB752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB752
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB752#FFFFFF#000000##000000
##BAB7521.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B148
Deuteranopia (green-blind)
#C7B557
Tritanopia (blue-blind)
#C6ACA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab752;
/* rgb */ color: rgb(186, 183, 82);
/* oklch */ color: oklch(76.2% 0.124 107.4);
Tailwind
colors: {
  custom: {
    50: '#d1cc86',
    500: '#bab752',
    950: '#000000',
  },
}
SCSS
$custom: #bab752;
$custom-light: #d1cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#bab752",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 58.269,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76158,
    "c": 0.12358,
    "h": 107.4
  },
  "luminance": 0.44915
}

Semantic roles & 50–950 ramp

primary
#BAB752
secondary
#9D9FCA
accent
#59D355
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB752

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

Preview Lab → · Contrast checker → · Palette generator →

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