#BAB84F#BAB84F

#BAB84F is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.3% C 0.127 H 108.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#BAB84F
RGBrgb(186, 184, 79)
HSLhsl(59, 44%, 52%)
HSVhsv(59, 58%, 73%)
CMYKcmyk(0%, 1.1%, 57.5%, 27.1%)
CIE-LABlab(73.08, -13.05, 52.42)
CIE-LCHlch(73.08, 54.02, 103.98°)
OKLaboklab(76.34% -0.0395 0.1211)
OKLCHoklch(76.34% 0.127 108.1)
XYZxyz(38.8026, 45.2857, 14.0926)
Luminance0.4528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB84F #4F51BA
analogous
#BA834F #BAB84F #86BA4F
triadic
#BAB84F #4FBAB8 #B84FBA
tetradic
#BAB84F #4FBA83 #4F51BA #BA4F86
square
#BAB84F #4FBA83 #4F51BA #BA4F86
split-complementary
#BAB84F #4F86BA #834FBA
monochromatic
#666528 #929139 #BAB84F #CBCA7B #DCDBA7

Accessibility & contrast

On white

2.09
#BAB84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#BAB84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB84F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB84F#FFFFFF#000000##000000
##BAB84F1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B144
Deuteranopia (green-blind)
#C8B555
Tritanopia (blue-blind)
#C6ADA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab84f;
/* rgb */ color: rgb(186, 184, 79);
/* oklch */ color: oklch(76.3% 0.127 108.1);
Tailwind
colors: {
  custom: {
    50: '#d1cd84',
    500: '#bab84f',
    950: '#000000',
  },
}
SCSS
$custom: #bab84f;
$custom-light: #d1cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#bab84f",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 58.879,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76342,
    "c": 0.12733,
    "h": 108.1
  },
  "luminance": 0.45285
}

Semantic roles & 50–950 ramp

primary
#BAB84F
secondary
#9B9CCA
accent
#57D354
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB84F

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

Preview Lab → · Contrast checker → · Palette generator →

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