#BAB346#BAB346

#BAB346 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.2% C 0.130 H 105.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#BAB346
RGBrgb(186, 179, 70)
HSLhsl(56, 46%, 50%)
HSVhsv(56, 62%, 73%)
CMYKcmyk(0%, 3.8%, 62.4%, 27.1%)
CIE-LABlab(71.64, -11.11, 54.83)
CIE-LCHlch(71.64, 55.95, 101.45°)
OKLaboklab(75.17% -0.035 0.125)
OKLCHoklch(75.17% 0.13 105.6)
XYZxyz(37.4766, 43.1228, 12.1426)
Luminance0.4312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB346 #464DBA
analogous
#BA7946 #BAB346 #87BA46
triadic
#BAB346 #46BAB3 #B346BA
tetradic
#BAB346 #46BA79 #464DBA #BA4687
square
#BAB346 #46BA79 #464DBA #BA4687
split-complementary
#BAB346 #4687BA #7946BA
monochromatic
#615E24 #8E8935 #BAB346 #CBC573 #DBD89F

Accessibility & contrast

On white

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

On black

9.62
#BAB346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB346
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB346#FFFFFF#000000##000000
##BAB3461.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD39
Deuteranopia (green-blind)
#C4B24C
Tritanopia (blue-blind)
#C7A89C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab346;
/* rgb */ color: rgb(186, 179, 70);
/* oklch */ color: oklch(75.2% 0.130 105.6);
Tailwind
colors: {
  custom: {
    50: '#d2c97e',
    500: '#bab346',
    950: '#000000',
  },
}
SCSS
$custom: #bab346;
$custom-light: #d2c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#bab346",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 70
  },
  "hsl": {
    "h": 56.379,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75167,
    "c": 0.12978,
    "h": 105.6
  },
  "luminance": 0.43121
}

Semantic roles & 50–950 ramp

primary
#BAB346
secondary
#9497C8
accent
#5AD552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB346

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

Preview Lab → · Contrast checker → · Palette generator →

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