#BAB146#BAB146

#BAB146 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.7% C 0.128 H 104.5°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#BAB146
RGBrgb(186, 177, 70)
HSLhsl(55, 46%, 50%)
HSVhsv(55, 62%, 73%)
CMYKcmyk(0%, 4.8%, 62.4%, 27.1%)
CIE-LABlab(71.10, -10.07, 54.25)
CIE-LCHlch(71.10, 55.18, 100.52°)
OKLaboklab(74.74% -0.032 0.1238)
OKLCHoklch(74.74% 0.128 104.5)
XYZxyz(37.0787, 42.3269, 12.0099)
Luminance0.4233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB146 #464FBA
analogous
#BA7746 #BAB146 #89BA46
triadic
#BAB146 #46BAB1 #B146BA
tetradic
#BAB146 #46BA77 #464FBA #BA4689
square
#BAB146 #46BA77 #464FBA #BA4689
split-complementary
#BAB146 #4689BA #7746BA
monochromatic
#615D24 #8E8735 #BAB146 #CBC473 #DBD79F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB146#FFFFFF#000000##000000
##BAB1461.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)
#C0AB39
Deuteranopia (green-blind)
#C3B04C
Tritanopia (blue-blind)
#C7A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab146;
/* rgb */ color: rgb(186, 177, 70);
/* oklch */ color: oklch(74.7% 0.128 104.5);
Tailwind
colors: {
  custom: {
    50: '#d2c87e',
    500: '#bab146',
    950: '#000000',
  },
}
SCSS
$custom: #bab146;
$custom-light: #d2c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#bab146",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 55.345,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74736,
    "c": 0.12783,
    "h": 104.5
  },
  "luminance": 0.42326
}

Semantic roles & 50–950 ramp

primary
#BAB146
secondary
#9498C8
accent
#5DD552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB146

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

Preview Lab → · Contrast checker → · Palette generator →

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