#BAB149#BAB149

#BAB149 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.8% C 0.125 H 104.4°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#BAB149
RGBrgb(186, 177, 73)
HSLhsl(55, 45%, 51%)
HSVhsv(55, 61%, 73%)
CMYKcmyk(0%, 4.8%, 60.8%, 27.1%)
CIE-LABlab(71.12, -9.87, 52.95)
CIE-LCHlch(71.12, 53.86, 100.56°)
OKLaboklab(74.77% -0.0311 0.1214)
OKLCHoklch(74.77% 0.125 104.4)
XYZxyz(37.1757, 42.3657, 12.5212)
Luminance0.4236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB149 #4952BA
analogous
#BA7849 #BAB149 #8ABA49
triadic
#BAB149 #49BAB1 #B149BA
tetradic
#BAB149 #49BA78 #4952BA #BA498A
square
#BAB149 #49BA78 #4952BA #BA498A
split-complementary
#BAB149 #498ABA #7849BA
monochromatic
#635E26 #8F8836 #BAB149 #CBC475 #DCD7A2

Accessibility & contrast

On white

2.22
#BAB149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#BAB149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB149
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB149#FFFFFF#000000##000000
##BAB1491.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3D
Deuteranopia (green-blind)
#C3B04F
Tritanopia (blue-blind)
#C7A69B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab149;
/* rgb */ color: rgb(186, 177, 73);
/* oklch */ color: oklch(74.8% 0.125 104.4);
Tailwind
colors: {
  custom: {
    50: '#d1c880',
    500: '#bab149',
    950: '#000000',
  },
}
SCSS
$custom: #bab149;
$custom-light: #d1c880;
$custom-dark: #000000;
JSON
{
  "hex": "#bab149",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 55.221,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74766,
    "c": 0.12534,
    "h": 104.4
  },
  "luminance": 0.42364
}

Semantic roles & 50–950 ramp

primary
#BAB149
secondary
#969AC8
accent
#5DD553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB149

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

Preview Lab → · Contrast checker → · Palette generator →

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