#BAB646#BAB646

#BAB646 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.8% C 0.133 H 107.2°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#BAB646
RGBrgb(186, 182, 70)
HSLhsl(58, 46%, 50%)
HSVhsv(58, 62%, 73%)
CMYKcmyk(0%, 2.2%, 62.4%, 27.1%)
CIE-LABlab(72.45, -12.65, 55.71)
CIE-LCHlch(72.45, 57.13, 102.80°)
OKLaboklab(75.82% -0.0393 0.1268)
OKLCHoklch(75.82% 0.133 107.2)
XYZxyz(38.0844, 44.3384, 12.3452)
Luminance0.4434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB646 #464ABA
analogous
#BA7C46 #BAB646 #84BA46
triadic
#BAB646 #46BAB6 #B646BA
tetradic
#BAB646 #46BA7C #464ABA #BA4684
square
#BAB646 #46BA7C #464ABA #BA4684
split-complementary
#BAB646 #4684BA #7C46BA
monochromatic
#615F24 #8E8B35 #BAB646 #CBC873 #DBD99F

Accessibility & contrast

On white

2.13
#BAB646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#BAB646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB646
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB646#FFFFFF#000000##000000
##BAB6461.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF38
Deuteranopia (green-blind)
#C7B44D
Tritanopia (blue-blind)
#C7AB9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab646;
/* rgb */ color: rgb(186, 182, 70);
/* oklch */ color: oklch(75.8% 0.133 107.2);
Tailwind
colors: {
  custom: {
    50: '#d2cb7f',
    500: '#bab646',
    950: '#000000',
  },
}
SCSS
$custom: #bab646;
$custom-light: #d2cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#bab646",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 70
  },
  "hsl": {
    "h": 57.931,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75817,
    "c": 0.1328,
    "h": 107.2
  },
  "luminance": 0.44337
}

Semantic roles & 50–950 ramp

primary
#BAB646
secondary
#9496C8
accent
#57D552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB646

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

Preview Lab → · Contrast checker → · Palette generator →

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