#BAB136#BAB136

#BAB136 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.139 H 105.1°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#BAB136
RGBrgb(186, 177, 54)
HSLhsl(56, 55%, 47%)
HSVhsv(56, 71%, 73%)
CMYKcmyk(0%, 4.8%, 71%, 27.1%)
CIE-LABlab(70.97, -11.00, 60.65)
CIE-LCHlch(70.97, 61.64, 100.28°)
OKLaboklab(74.6% -0.0364 0.1347)
OKLCHoklch(74.6% 0.139 105.1)
XYZxyz(36.6392, 42.1511, 9.6953)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB136 #363FBA
analogous
#BA6F36 #BAB136 #81BA36
triadic
#BAB136 #36BAB1 #B136BA
tetradic
#BAB136 #36BA6F #363FBA #BA3681
square
#BAB136 #36BA6F #363FBA #BA3681
split-complementary
#BAB136 #3681BA #6F36BA
monochromatic
#5B571A #8B8428 #BAB136 #D0C85D #DED88D

Accessibility & contrast

On white

2.23
#BAB136 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#BAB136 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB136
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB136#FFFFFF#000000##000000
##BAB1361.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB22
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#C8A599
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab136;
/* rgb */ color: rgb(186, 177, 54);
/* oklch */ color: oklch(74.6% 0.139 105.1);
Tailwind
colors: {
  custom: {
    50: '#d2c875',
    500: '#bab136',
    950: '#000000',
  },
}
SCSS
$custom: #bab136;
$custom-light: #d2c875;
$custom-dark: #000000;
JSON
{
  "hex": "#bab136",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 54
  },
  "hsl": {
    "h": 55.909,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74601,
    "c": 0.13949,
    "h": 105.1
  },
  "luminance": 0.4215
}

Semantic roles & 50–950 ramp

primary
#BAB136
secondary
#8488C8
accent
#54DE49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB136

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

Preview Lab → · Contrast checker → · Palette generator →

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