#BAB64A#BAB64A

#BAB64A is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.9% C 0.130 H 107.1°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#BAB64A
RGBrgb(186, 182, 74)
HSLhsl(58, 45%, 51%)
HSVhsv(58, 60%, 73%)
CMYKcmyk(0%, 2.2%, 60.2%, 27.1%)
CIE-LABlab(72.49, -12.38, 54.00)
CIE-LCHlch(72.49, 55.40, 102.91°)
OKLaboklab(75.86% -0.0381 0.1238)
OKLCHoklch(75.86% 0.13 107.1)
XYZxyz(38.2149, 44.3906, 13.0325)
Luminance0.4439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB64A #4A4EBA
analogous
#BA7E4A #BAB64A #86BA4A
triadic
#BAB64A #4ABAB6 #B64ABA
tetradic
#BAB64A #4ABA7E #4A4EBA #BA4A86
square
#BAB64A #4ABA7E #4A4EBA #BA4A86
split-complementary
#BAB64A #4A86BA #7E4ABA
monochromatic
#646126 #908D37 #BAB64A #CBC876 #DCDAA3

Accessibility & contrast

On white

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

On black

9.88
#BAB64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB64A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB64A#FFFFFF#000000##000000
##BAB64A1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab64a;
/* rgb */ color: rgb(186, 182, 74);
/* oklch */ color: oklch(75.9% 0.130 107.1);
Tailwind
colors: {
  custom: {
    50: '#d1cb81',
    500: '#bab64a',
    950: '#000000',
  },
}
SCSS
$custom: #bab64a;
$custom-light: #d1cb81;
$custom-dark: #000000;
JSON
{
  "hex": "#bab64a",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 74
  },
  "hsl": {
    "h": 57.857,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75856,
    "c": 0.12953,
    "h": 107.1
  },
  "luminance": 0.44389
}

Semantic roles & 50–950 ramp

primary
#BAB64A
secondary
#9799C9
accent
#58D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB64A

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

Preview Lab → · Contrast checker → · Palette generator →

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