#BAB84D#BAB84D

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

Color values

HEX#BAB84D
RGBrgb(186, 184, 77)
HSLhsl(59, 44%, 52%)
HSVhsv(59, 59%, 73%)
CMYKcmyk(0%, 1.1%, 58.6%, 27.1%)
CIE-LABlab(73.06, -13.19, 53.30)
CIE-LCHlch(73.06, 54.91, 103.90°)
OKLaboklab(76.32% -0.0401 0.1227)
OKLCHoklch(76.32% 0.129 108.1)
XYZxyz(38.7309, 45.2570, 13.7150)
Luminance0.4526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB84D #4D4FBA
analogous
#BA824D #BAB84D #86BA4D
triadic
#BAB84D #4DBAB8 #B84DBA
tetradic
#BAB84D #4DBA82 #4D4FBA #BA4D86
square
#BAB84D #4DBA82 #4D4FBA #BA4D86
split-complementary
#BAB84D #4D86BA #824DBA
monochromatic
#656427 #919038 #BAB84D #CBCA79 #DCDBA5

Accessibility & contrast

On white

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

On black

10.05
#BAB84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB84D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB84D#FFFFFF#000000##000000
##BAB84D1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab84d;
/* rgb */ color: rgb(186, 184, 77);
/* oklch */ color: oklch(76.3% 0.129 108.1);
Tailwind
colors: {
  custom: {
    50: '#d1cd83',
    500: '#bab84d',
    950: '#000000',
  },
}
SCSS
$custom: #bab84d;
$custom-light: #d1cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#bab84d",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 77
  },
  "hsl": {
    "h": 58.899,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76321,
    "c": 0.12907,
    "h": 108.1
  },
  "luminance": 0.45256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB84D

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

Preview Lab → · Contrast checker → · Palette generator →

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