#BAB82D#BAB82D

#BAB82D is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.1% C 0.151 H 108.7°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#BAB82D
RGBrgb(186, 184, 45)
HSLhsl(59, 61%, 45%)
HSVhsv(59, 76%, 73%)
CMYKcmyk(0%, 1.1%, 75.8%, 27.1%)
CIE-LABlab(72.83, -14.99, 65.54)
CIE-LCHlch(72.83, 67.23, 102.89°)
OKLaboklab(76.07% -0.0484 0.1434)
OKLCHoklch(76.07% 0.151 108.7)
XYZxyz(37.8653, 44.9108, 9.1562)
Luminance0.4491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB82D #2D2FBA
analogous
#BA712D #BAB82D #75BA2D
triadic
#BAB82D #2DBAB8 #B82DBA
tetradic
#BAB82D #2DBA71 #2D2FBA #BA2D75
square
#BAB82D #2DBA71 #2D2FBA #BA2D75
split-complementary
#BAB82D #2D75BA #712DBA
monochromatic
#575715 #898721 #BAB82D #D5D350 #E0DF81

Accessibility & contrast

On white

2.10
#BAB82D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#BAB82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB82D
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB82D#FFFFFF#000000##000000
##BAB82D1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B009
Deuteranopia (green-blind)
#C9B538
Tritanopia (blue-blind)
#C8AC9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab82d;
/* rgb */ color: rgb(186, 184, 45);
/* oklch */ color: oklch(76.1% 0.151 108.7);
Tailwind
colors: {
  custom: {
    50: '#d3cd71',
    500: '#bab82d',
    950: '#000000',
  },
}
SCSS
$custom: #bab82d;
$custom-light: #d3cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#bab82d",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 59.149,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.76066,
    "c": 0.15135,
    "h": 108.7
  },
  "luminance": 0.4491
}

Semantic roles & 50–950 ramp

primary
#BAB82D
secondary
#797BC9
accent
#46E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BAB82D

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

Preview Lab → · Contrast checker → · Palette generator →

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