#BAB73D#BAB73D

#BAB73D is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.0% C 0.141 H 107.9°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#BAB73D
RGBrgb(186, 183, 61)
HSLhsl(59, 51%, 48%)
HSVhsv(59, 67%, 73%)
CMYKcmyk(0%, 1.6%, 67.2%, 27.1%)
CIE-LABlab(72.66, -13.71, 59.63)
CIE-LCHlch(72.66, 61.19, 102.95°)
OKLaboklab(75.96% -0.0433 0.1337)
OKLCHoklch(75.96% 0.141 107.9)
XYZxyz(38.0268, 44.6442, 11.0281)
Luminance0.4464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB73D #3D40BA
analogous
#BA783D #BAB73D #7EBA3D
triadic
#BAB73D #3DBAB7 #B73DBA
tetradic
#BAB73D #3DBA78 #3D40BA #BA3D7E
square
#BAB73D #3DBA78 #3D40BA #BA3D7E
split-complementary
#BAB73D #3D7EBA #783DBA
monochromatic
#5E5C1F #8C8A2E #BAB73D #CDCB67 #DCDB95

Accessibility & contrast

On white

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

On black

9.93
#BAB73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB73D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB73D#FFFFFF#000000##000000
##BAB73D1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02B
Deuteranopia (green-blind)
#C8B445
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab73d;
/* rgb */ color: rgb(186, 183, 61);
/* oklch */ color: oklch(76.0% 0.141 107.9);
Tailwind
colors: {
  custom: {
    50: '#d2cc79',
    500: '#bab73d',
    950: '#000000',
  },
}
SCSS
$custom: #bab73d;
$custom-light: #d2cc79;
$custom-dark: #000000;
JSON
{
  "hex": "#bab73d",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 61
  },
  "hsl": {
    "h": 58.56,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75957,
    "c": 0.14056,
    "h": 107.9
  },
  "luminance": 0.44643
}

Semantic roles & 50–950 ramp

primary
#BAB73D
secondary
#8B8DC8
accent
#51DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB73D

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

Preview Lab → · Contrast checker → · Palette generator →

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