#BAB64D#BAB64D

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

Color values

HEX#BAB64D
RGBrgb(186, 182, 77)
HSLhsl(58, 44%, 52%)
HSVhsv(58, 59%, 73%)
CMYKcmyk(0%, 2.2%, 58.6%, 27.1%)
CIE-LABlab(72.52, -12.17, 52.69)
CIE-LCHlch(72.52, 54.08, 103.00°)
OKLaboklab(75.89% -0.0372 0.1214)
OKLCHoklch(75.89% 0.127 107)
XYZxyz(38.3184, 44.4320, 13.5775)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB64D #4D51BA
analogous
#BA804D #BAB64D #88BA4D
triadic
#BAB64D #4DBAB6 #B64DBA
tetradic
#BAB64D #4DBA80 #4D51BA #BA4D88
square
#BAB64D #4DBA80 #4D51BA #BA4D88
split-complementary
#BAB64D #4D88BA #804DBA
monochromatic
#656327 #918E38 #BAB64D #CBC879 #DCDAA5

Accessibility & contrast

On white

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

On black

9.89
#BAB64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB64D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB64D#FFFFFF#000000##000000
##BAB64D1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab64d;
/* rgb */ color: rgb(186, 182, 77);
/* oklch */ color: oklch(75.9% 0.127 107.0);
Tailwind
colors: {
  custom: {
    50: '#d1cb83',
    500: '#bab64d',
    950: '#000000',
  },
}
SCSS
$custom: #bab64d;
$custom-light: #d1cb83;
$custom-dark: #000000;
JSON
{
  "hex": "#bab64d",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 77
  },
  "hsl": {
    "h": 57.798,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75887,
    "c": 0.12697,
    "h": 107
  },
  "luminance": 0.44431
}

Semantic roles & 50–950 ramp

primary
#BAB64D
secondary
#999BC9
accent
#59D454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB64D

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

Preview Lab → · Contrast checker → · Palette generator →

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