#BAB739#BAB739

#BAB739 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.9% C 0.143 H 108.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#BAB739
RGBrgb(186, 183, 57)
HSLhsl(59, 53%, 48%)
HSVhsv(59, 69%, 73%)
CMYKcmyk(0%, 1.6%, 69.4%, 27.1%)
CIE-LABlab(72.63, -13.93, 61.15)
CIE-LCHlch(72.63, 62.71, 102.83°)
OKLaboklab(75.93% -0.0443 0.1363)
OKLCHoklch(75.93% 0.143 108)
XYZxyz(37.9231, 44.6027, 10.4816)
Luminance0.4460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB739 #393CBA
analogous
#BA7739 #BAB739 #7CBA39
triadic
#BAB739 #39BAB7 #B739BA
tetradic
#BAB739 #39BA77 #393CBA #BA397C
square
#BAB739 #39BA77 #393CBA #BA397C
split-complementary
#BAB739 #397CBA #7739BA
monochromatic
#5C5B1C #8B892B #BAB739 #CFCC61 #DDDB90

Accessibility & contrast

On white

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

On black

9.92
#BAB739 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB739
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB739#FFFFFF#000000##000000
##BAB7391.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab739;
/* rgb */ color: rgb(186, 183, 57);
/* oklch */ color: oklch(75.9% 0.143 108.0);
Tailwind
colors: {
  custom: {
    50: '#d2cc77',
    500: '#bab739',
    950: '#000000',
  },
}
SCSS
$custom: #bab739;
$custom-light: #d2cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#bab739",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 57
  },
  "hsl": {
    "h": 58.605,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75926,
    "c": 0.14328,
    "h": 108
  },
  "luminance": 0.44601
}

Semantic roles & 50–950 ramp

primary
#BAB739
secondary
#8788C8
accent
#4FDC4B
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB739

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

Preview Lab → · Contrast checker → · Palette generator →

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