#BAB037#BAB037

#BAB037 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.4% C 0.138 H 104.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#BAB037
RGBrgb(186, 176, 55)
HSLhsl(55, 54%, 47%)
HSVhsv(55, 70%, 73%)
CMYKcmyk(0%, 5.4%, 70.4%, 27.1%)
CIE-LABlab(70.71, -10.43, 60.01)
CIE-LCHlch(70.71, 60.91, 99.86°)
OKLaboklab(74.39% -0.0347 0.1335)
OKLCHoklch(74.39% 0.138 104.6)
XYZxyz(36.4661, 41.7670, 9.7547)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB037 #3741BA
analogous
#BA6F37 #BAB037 #82BA37
triadic
#BAB037 #37BAB0 #B037BA
tetradic
#BAB037 #37BA6F #3741BA #BA3782
square
#BAB037 #37BA6F #3741BA #BA3782
split-complementary
#BAB037 #3782BA #6F37BA
monochromatic
#5C571B #8B8329 #BAB037 #D0C75F #DED78E

Accessibility & contrast

On white

2.25
#BAB037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#BAB037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB037
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB037#FFFFFF#000000##000000
##BAB0371.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA24
Deuteranopia (green-blind)
#C3AF3F
Tritanopia (blue-blind)
#C8A498
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bab037;
/* rgb */ color: rgb(186, 176, 55);
/* oklch */ color: oklch(74.4% 0.138 104.6);
Tailwind
colors: {
  custom: {
    50: '#d2c776',
    500: '#bab037',
    950: '#000000',
  },
}
SCSS
$custom: #bab037;
$custom-light: #d2c776;
$custom-dark: #000000;
JSON
{
  "hex": "#bab037",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 55
  },
  "hsl": {
    "h": 55.42,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74392,
    "c": 0.13792,
    "h": 104.6
  },
  "luminance": 0.41766
}

Semantic roles & 50–950 ramp

primary
#BAB037
secondary
#858AC8
accent
#55DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB037

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

Preview Lab → · Contrast checker → · Palette generator →

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