#BAB449#BAB449

#BAB449 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.4% C 0.128 H 106.1°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#BAB449
RGBrgb(186, 180, 73)
HSLhsl(57, 45%, 51%)
HSVhsv(57, 61%, 73%)
CMYKcmyk(0%, 3.2%, 60.8%, 27.1%)
CIE-LABlab(71.94, -11.42, 53.84)
CIE-LCHlch(71.94, 55.04, 101.98°)
OKLaboklab(75.41% -0.0355 0.1233)
OKLCHoklch(75.41% 0.128 106.1)
XYZxyz(37.7748, 43.5639, 12.7209)
Luminance0.4356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB449 #494FBA
analogous
#BA7B49 #BAB449 #87BA49
triadic
#BAB449 #49BAB4 #B449BA
tetradic
#BAB449 #49BA7B #494FBA #BA4987
square
#BAB449 #49BA7B #494FBA #BA4987
split-complementary
#BAB449 #4987BA #7B49BA
monochromatic
#636026 #8F8B36 #BAB449 #CBC675 #DCD9A2

Accessibility & contrast

On white

2.16
#BAB449 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#BAB449 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB449
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB449#FFFFFF#000000##000000
##BAB4491.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3D
Deuteranopia (green-blind)
#C5B24F
Tritanopia (blue-blind)
#C7A99D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab449;
/* rgb */ color: rgb(186, 180, 73);
/* oklch */ color: oklch(75.4% 0.128 106.1);
Tailwind
colors: {
  custom: {
    50: '#d1ca80',
    500: '#bab449',
    950: '#000000',
  },
}
SCSS
$custom: #bab449;
$custom-light: #d1ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#bab449",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 73
  },
  "hsl": {
    "h": 56.814,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75413,
    "c": 0.12832,
    "h": 106.1
  },
  "luminance": 0.43563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB449

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

Preview Lab → · Contrast checker → · Palette generator →

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