#BAB644#BAB644

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

Color values

HEX#BAB644
RGBrgb(186, 182, 68)
HSLhsl(58, 46%, 50%)
HSVhsv(58, 63%, 73%)
CMYKcmyk(0%, 2.2%, 63.4%, 27.1%)
CIE-LABlab(72.44, -12.78, 56.54)
CIE-LCHlch(72.44, 57.97, 102.74°)
OKLaboklab(75.8% -0.0399 0.1283)
OKLCHoklch(75.8% 0.134 107.3)
XYZxyz(38.0223, 44.3136, 12.0182)
Luminance0.4431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB644 #4448BA
analogous
#BA7B44 #BAB644 #83BA44
triadic
#BAB644 #44BAB6 #B644BA
tetradic
#BAB644 #44BA7B #4448BA #BA4483
square
#BAB644 #44BA7B #4448BA #BA4483
split-complementary
#BAB644 #4483BA #7B44BA
monochromatic
#605E23 #8D8A34 #BAB644 #CBC870 #DBD99D

Accessibility & contrast

On white

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

On black

9.86
#BAB644 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB644
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB644#FFFFFF#000000##000000
##BAB6441.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF36
Deuteranopia (green-blind)
#C7B44B
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab644;
/* rgb */ color: rgb(186, 182, 68);
/* oklch */ color: oklch(75.8% 0.134 107.3);
Tailwind
colors: {
  custom: {
    50: '#d2cb7d',
    500: '#bab644',
    950: '#000000',
  },
}
SCSS
$custom: #bab644;
$custom-light: #d2cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bab644",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 68
  },
  "hsl": {
    "h": 57.966,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75799,
    "c": 0.13437,
    "h": 107.3
  },
  "luminance": 0.44312
}

Semantic roles & 50–950 ramp

primary
#BAB644
secondary
#9294C8
accent
#56D652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB644

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

Preview Lab → · Contrast checker → · Palette generator →

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