#BAB64C#BAB64C

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

Color values

HEX#BAB64C
RGBrgb(186, 182, 76)
HSLhsl(58, 44%, 51%)
HSVhsv(58, 59%, 73%)
CMYKcmyk(0%, 2.2%, 59.1%, 27.1%)
CIE-LABlab(72.51, -12.24, 53.13)
CIE-LCHlch(72.51, 54.53, 102.97°)
OKLaboklab(75.88% -0.0375 0.1222)
OKLCHoklch(75.88% 0.128 107.1)
XYZxyz(38.2834, 44.4180, 13.3930)
Luminance0.4442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB64C #4C50BA
analogous
#BA7F4C #BAB64C #87BA4C
triadic
#BAB64C #4CBAB6 #B64CBA
tetradic
#BAB64C #4CBA7F #4C50BA #BA4C87
square
#BAB64C #4CBA7F #4C50BA #BA4C87
split-complementary
#BAB64C #4C87BA #7F4CBA
monochromatic
#656327 #918E38 #BAB64C #CBC878 #DCDAA4

Accessibility & contrast

On white

2.12
#BAB64C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB64C#FFFFFF#000000##000000
##BAB64C1.002.129.889.88
#FFFFFF2.121.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF40
Deuteranopia (green-blind)
#C6B452
Tritanopia (blue-blind)
#C6AB9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab64c;
/* rgb */ color: rgb(186, 182, 76);
/* oklch */ color: oklch(75.9% 0.128 107.1);
Tailwind
colors: {
  custom: {
    50: '#d1cb82',
    500: '#bab64c',
    950: '#000000',
  },
}
SCSS
$custom: #bab64c;
$custom-light: #d1cb82;
$custom-dark: #000000;
JSON
{
  "hex": "#bab64c",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 76
  },
  "hsl": {
    "h": 57.818,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75876,
    "c": 0.12783,
    "h": 107.1
  },
  "luminance": 0.44417
}

Semantic roles & 50–950 ramp

primary
#BAB64C
secondary
#999AC9
accent
#58D454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB64C

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

Preview Lab → · Contrast checker → · Palette generator →

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