#BAB249#BAB249

#BAB249 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.0% C 0.126 H 104.9°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#BAB249
RGBrgb(186, 178, 73)
HSLhsl(56, 45%, 51%)
HSVhsv(56, 61%, 73%)
CMYKcmyk(0%, 4.3%, 60.8%, 27.1%)
CIE-LABlab(71.39, -10.39, 53.25)
CIE-LCHlch(71.39, 54.25, 101.04°)
OKLaboklab(74.98% -0.0326 0.1221)
OKLCHoklch(74.98% 0.126 104.9)
XYZxyz(37.3740, 42.7622, 12.5873)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB249 #4951BA
analogous
#BA7949 #BAB249 #89BA49
triadic
#BAB249 #49BAB2 #B249BA
tetradic
#BAB249 #49BA79 #4951BA #BA4989
square
#BAB249 #49BA79 #4951BA #BA4989
split-complementary
#BAB249 #4989BA #7949BA
monochromatic
#635F26 #8F8936 #BAB249 #CBC575 #DCD8A2

Accessibility & contrast

On white

2.20
#BAB249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#BAB249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB249
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB249#FFFFFF#000000##000000
##BAB2491.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3D
Deuteranopia (green-blind)
#C3B14F
Tritanopia (blue-blind)
#C7A79C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab249;
/* rgb */ color: rgb(186, 178, 73);
/* oklch */ color: oklch(75.0% 0.126 104.9);
Tailwind
colors: {
  custom: {
    50: '#d1c880',
    500: '#bab249',
    950: '#000000',
  },
}
SCSS
$custom: #bab249;
$custom-light: #d1c880;
$custom-dark: #000000;
JSON
{
  "hex": "#bab249",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 73
  },
  "hsl": {
    "h": 55.752,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74981,
    "c": 0.12632,
    "h": 104.9
  },
  "luminance": 0.42761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB249

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

Preview Lab → · Contrast checker → · Palette generator →

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