#BAB437#BAB437

#BAB437 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.3% C 0.142 H 106.6°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#BAB437
RGBrgb(186, 180, 55)
HSLhsl(57, 54%, 47%)
HSVhsv(57, 70%, 73%)
CMYKcmyk(0%, 3.2%, 70.4%, 27.1%)
CIE-LABlab(71.80, -12.50, 61.08)
CIE-LCHlch(71.80, 62.35, 101.56°)
OKLaboklab(75.26% -0.0405 0.1358)
OKLCHoklch(75.26% 0.142 106.6)
XYZxyz(37.2620, 43.3588, 10.0200)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB437 #373DBA
analogous
#BA7337 #BAB437 #7FBA37
triadic
#BAB437 #37BAB4 #B437BA
tetradic
#BAB437 #37BA73 #373DBA #BA377F
square
#BAB437 #37BA73 #373DBA #BA377F
split-complementary
#BAB437 #377FBA #7337BA
monochromatic
#5C591B #8B8629 #BAB437 #D0CA5F #DEDA8E

Accessibility & contrast

On white

2.17
#BAB437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#BAB437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB437
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB437#FFFFFF#000000##000000
##BAB4371.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD22
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#C8A89B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab437;
/* rgb */ color: rgb(186, 180, 55);
/* oklch */ color: oklch(75.3% 0.142 106.6);
Tailwind
colors: {
  custom: {
    50: '#d2ca76',
    500: '#bab437',
    950: '#000000',
  },
}
SCSS
$custom: #bab437;
$custom-light: #d2ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#bab437",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 55
  },
  "hsl": {
    "h": 57.252,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75259,
    "c": 0.14166,
    "h": 106.6
  },
  "luminance": 0.43357
}

Semantic roles & 50–950 ramp

primary
#BAB437
secondary
#8588C8
accent
#51DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB437

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

Preview Lab → · Contrast checker → · Palette generator →

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