#BAB036#BAB036

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

Color values

HEX#BAB036
RGBrgb(186, 176, 54)
HSLhsl(55, 55%, 47%)
HSVhsv(55, 71%, 73%)
CMYKcmyk(0%, 5.4%, 71%, 27.1%)
CIE-LABlab(70.70, -10.48, 60.38)
CIE-LCHlch(70.70, 61.28, 99.85°)
OKLaboklab(74.39% -0.0349 0.1341)
OKLCHoklch(74.39% 0.139 104.6)
XYZxyz(36.4424, 41.7575, 9.6297)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB036 #3640BA
analogous
#BA6E36 #BAB036 #82BA36
triadic
#BAB036 #36BAB0 #B036BA
tetradic
#BAB036 #36BA6E #3640BA #BA3682
square
#BAB036 #36BA6E #3640BA #BA3682
split-complementary
#BAB036 #3682BA #6E36BA
monochromatic
#5B561A #8B8328 #BAB036 #D0C75D #DED88D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB036#FFFFFF#000000##000000
##BAB0361.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)
#C0AA22
Deuteranopia (green-blind)
#C3AF3E
Tritanopia (blue-blind)
#C8A498
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bab036;
/* rgb */ color: rgb(186, 176, 54);
/* oklch */ color: oklch(74.4% 0.139 104.6);
Tailwind
colors: {
  custom: {
    50: '#d2c775',
    500: '#bab036',
    950: '#000000',
  },
}
SCSS
$custom: #bab036;
$custom-light: #d2c775;
$custom-dark: #000000;
JSON
{
  "hex": "#bab036",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 54
  },
  "hsl": {
    "h": 55.455,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74385,
    "c": 0.13857,
    "h": 104.6
  },
  "luminance": 0.41756
}

Semantic roles & 50–950 ramp

primary
#BAB036
secondary
#8489C8
accent
#55DE49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB036

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

Preview Lab → · Contrast checker → · Palette generator →

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