#BAB73F#BAB73F

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

Color values

HEX#BAB73F
RGBrgb(186, 183, 63)
HSLhsl(59, 49%, 49%)
HSVhsv(59, 66%, 73%)
CMYKcmyk(0%, 1.6%, 66.1%, 27.1%)
CIE-LABlab(72.67, -13.60, 58.85)
CIE-LCHlch(72.67, 60.40, 103.01°)
OKLaboklab(75.97% -0.0428 0.1324)
OKLCHoklch(75.97% 0.139 107.9)
XYZxyz(38.0817, 44.6661, 11.3171)
Luminance0.4466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB73F #3F42BA
analogous
#BA7A3F #BAB73F #80BA3F
triadic
#BAB73F #3FBAB7 #B73FBA
tetradic
#BAB73F #3FBA7A #3F42BA #BA3F80
square
#BAB73F #3FBA7A #3F42BA #BA3F80
split-complementary
#BAB73F #3F80BA #7A3FBA
monochromatic
#5F5D20 #8C8A30 #BAB73F #CCCA6A #DCDA97

Accessibility & contrast

On white

2.11
#BAB73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB73F#FFFFFF#000000##000000
##BAB73F1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02E
Deuteranopia (green-blind)
#C8B447
Tritanopia (blue-blind)
#C7AB9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab73f;
/* rgb */ color: rgb(186, 183, 63);
/* oklch */ color: oklch(76.0% 0.139 107.9);
Tailwind
colors: {
  custom: {
    50: '#d2cc7b',
    500: '#bab73f',
    950: '#000000',
  },
}
SCSS
$custom: #bab73f;
$custom-light: #d2cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bab73f",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 63
  },
  "hsl": {
    "h": 58.537,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75973,
    "c": 0.13913,
    "h": 107.9
  },
  "luminance": 0.44665
}

Semantic roles & 50–950 ramp

primary
#BAB73F
secondary
#8D8FC8
accent
#52D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB73F

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

Preview Lab → · Contrast checker → · Palette generator →

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