#BAB737#BAB737

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

Color values

HEX#BAB737
RGBrgb(186, 183, 55)
HSLhsl(59, 54%, 47%)
HSVhsv(59, 70%, 73%)
CMYKcmyk(0%, 1.6%, 70.4%, 27.1%)
CIE-LABlab(72.62, -14.03, 61.88)
CIE-LCHlch(72.62, 63.45, 102.78°)
OKLaboklab(75.91% -0.0448 0.1375)
OKLCHoklch(75.91% 0.145 108.1)
XYZxyz(37.8742, 44.5831, 10.2240)
Luminance0.4458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB737 #373ABA
analogous
#BA7637 #BAB737 #7CBA37
triadic
#BAB737 #37BAB7 #B737BA
tetradic
#BAB737 #37BA76 #373ABA #BA377C
square
#BAB737 #37BA76 #373ABA #BA377C
split-complementary
#BAB737 #377CBA #7637BA
monochromatic
#5C5A1B #8B8929 #BAB737 #D0CD5F #DEDC8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB737#FFFFFF#000000##000000
##BAB7371.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)
#C6B021
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab737;
/* rgb */ color: rgb(186, 183, 55);
/* oklch */ color: oklch(75.9% 0.145 108.1);
Tailwind
colors: {
  custom: {
    50: '#d2cc76',
    500: '#bab737',
    950: '#000000',
  },
}
SCSS
$custom: #bab737;
$custom-light: #d2cc76;
$custom-dark: #000000;
JSON
{
  "hex": "#bab737",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 55
  },
  "hsl": {
    "h": 58.626,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75911,
    "c": 0.14457,
    "h": 108.1
  },
  "luminance": 0.44582
}

Semantic roles & 50–950 ramp

primary
#BAB737
secondary
#8586C8
accent
#4DDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB737

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

Preview Lab → · Contrast checker → · Palette generator →

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