#BAB137#BAB137

#BAB137 is a light, vivid yellow. Relative luminance 0.422; 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#BAB137
RGBrgb(186, 177, 55)
HSLhsl(56, 54%, 47%)
HSVhsv(56, 70%, 73%)
CMYKcmyk(0%, 4.8%, 70.4%, 27.1%)
CIE-LABlab(70.98, -10.95, 60.28)
CIE-LCHlch(70.98, 61.26, 100.30°)
OKLaboklab(74.61% -0.0361 0.1341)
OKLCHoklch(74.61% 0.139 105.1)
XYZxyz(36.6629, 42.1606, 9.8203)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB137 #3740BA
analogous
#BA7037 #BAB137 #81BA37
triadic
#BAB137 #37BAB1 #B137BA
tetradic
#BAB137 #37BA70 #3740BA #BA3781
square
#BAB137 #37BA70 #3740BA #BA3781
split-complementary
#BAB137 #3781BA #7037BA
monochromatic
#5C571B #8B8429 #BAB137 #D0C85F #DED88E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB137#FFFFFF#000000##000000
##BAB1371.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)
#C0AB23
Deuteranopia (green-blind)
#C4B03F
Tritanopia (blue-blind)
#C8A599
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab137;
/* rgb */ color: rgb(186, 177, 55);
/* oklch */ color: oklch(74.6% 0.139 105.1);
Tailwind
colors: {
  custom: {
    50: '#d2c876',
    500: '#bab137',
    950: '#000000',
  },
}
SCSS
$custom: #bab137;
$custom-light: #d2c876;
$custom-dark: #000000;
JSON
{
  "hex": "#bab137",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 55
  },
  "hsl": {
    "h": 55.878,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74608,
    "c": 0.13884,
    "h": 105.1
  },
  "luminance": 0.42159
}

Semantic roles & 50–950 ramp

primary
#BAB137
secondary
#8589C8
accent
#54DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB137

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

Preview Lab → · Contrast checker → · Palette generator →

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