#BAB747#BAB747

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

Color values

HEX#BAB747
RGBrgb(186, 183, 71)
HSLhsl(58, 45%, 50%)
HSVhsv(58, 62%, 73%)
CMYKcmyk(0%, 1.6%, 61.8%, 27.1%)
CIE-LABlab(72.73, -13.10, 55.58)
CIE-LCHlch(72.73, 57.10, 103.26°)
OKLaboklab(76.04% -0.0405 0.1267)
OKLCHoklch(76.04% 0.133 107.7)
XYZxyz(38.3218, 44.7622, 12.5813)
Luminance0.4476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB747 #474ABA
analogous
#BA7D47 #BAB747 #83BA47
triadic
#BAB747 #47BAB7 #B747BA
tetradic
#BAB747 #47BA7D #474ABA #BA4783
square
#BAB747 #47BA7D #474ABA #BA4783
split-complementary
#BAB747 #4783BA #7D47BA
monochromatic
#626025 #8E8C35 #BAB747 #CBC874 #DBDAA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB747#FFFFFF#000000##000000
##BAB7471.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)
#C5B039
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab747;
/* rgb */ color: rgb(186, 183, 71);
/* oklch */ color: oklch(76.0% 0.133 107.7);
Tailwind
colors: {
  custom: {
    50: '#d2cc7f',
    500: '#bab747',
    950: '#000000',
  },
}
SCSS
$custom: #bab747;
$custom-light: #d2cc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#bab747",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 71
  },
  "hsl": {
    "h": 58.435,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76044,
    "c": 0.13302,
    "h": 107.7
  },
  "luminance": 0.44761
}

Semantic roles & 50–950 ramp

primary
#BAB747
secondary
#9596C8
accent
#56D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB747

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

Preview Lab → · Contrast checker → · Palette generator →

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