#BAB349#BAB349

#BAB349 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.2% C 0.127 H 105.5°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#BAB349
RGBrgb(186, 179, 73)
HSLhsl(56, 45%, 51%)
HSVhsv(56, 61%, 73%)
CMYKcmyk(0%, 3.8%, 60.8%, 27.1%)
CIE-LABlab(71.66, -10.90, 53.55)
CIE-LCHlch(71.66, 54.64, 101.51°)
OKLaboklab(75.2% -0.034 0.1227)
OKLCHoklch(75.2% 0.127 105.5)
XYZxyz(37.5737, 43.1616, 12.6538)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB349 #4950BA
analogous
#BA7A49 #BAB349 #88BA49
triadic
#BAB349 #49BAB3 #B349BA
tetradic
#BAB349 #49BA7A #4950BA #BA4988
square
#BAB349 #49BA7A #4950BA #BA4988
split-complementary
#BAB349 #4988BA #7A49BA
monochromatic
#635F26 #8F8A36 #BAB349 #CBC675 #DCD8A2

Accessibility & contrast

On white

2.18
#BAB349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#BAB349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB349
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB349#FFFFFF#000000##000000
##BAB3491.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3D
Deuteranopia (green-blind)
#C4B24F
Tritanopia (blue-blind)
#C7A89C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab349;
/* rgb */ color: rgb(186, 179, 73);
/* oklch */ color: oklch(75.2% 0.127 105.5);
Tailwind
colors: {
  custom: {
    50: '#d1c980',
    500: '#bab349',
    950: '#000000',
  },
}
SCSS
$custom: #bab349;
$custom-light: #d1c980;
$custom-dark: #000000;
JSON
{
  "hex": "#bab349",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 73
  },
  "hsl": {
    "h": 56.283,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75197,
    "c": 0.12732,
    "h": 105.5
  },
  "luminance": 0.4316
}

Semantic roles & 50–950 ramp

primary
#BAB349
secondary
#9699C8
accent
#5BD553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB349

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

Preview Lab → · Contrast checker → · Palette generator →

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