#BAB139#BAB139

#BAB139 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.6% C 0.138 H 105.0°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#BAB139
RGBrgb(186, 177, 57)
HSLhsl(56, 53%, 48%)
HSVhsv(56, 69%, 73%)
CMYKcmyk(0%, 4.8%, 69.4%, 27.1%)
CIE-LABlab(71.00, -10.85, 59.52)
CIE-LCHlch(71.00, 60.50, 100.33°)
OKLaboklab(74.62% -0.0356 0.1328)
OKLCHoklch(74.62% 0.138 105)
XYZxyz(36.7118, 42.1802, 10.0779)
Luminance0.4218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB139 #3942BA
analogous
#BA7139 #BAB139 #82BA39
triadic
#BAB139 #39BAB1 #B139BA
tetradic
#BAB139 #39BA71 #3942BA #BA3982
square
#BAB139 #39BA71 #3942BA #BA3982
split-complementary
#BAB139 #3982BA #7139BA
monochromatic
#5C581C #8B842B #BAB139 #CFC761 #DDD890

Accessibility & contrast

On white

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

On black

9.44
#BAB139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB139
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB139#FFFFFF#000000##000000
##BAB1391.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab139;
/* rgb */ color: rgb(186, 177, 57);
/* oklch */ color: oklch(74.6% 0.138 105.0);
Tailwind
colors: {
  custom: {
    50: '#d2c877',
    500: '#bab139',
    950: '#000000',
  },
}
SCSS
$custom: #bab139;
$custom-light: #d2c877;
$custom-dark: #000000;
JSON
{
  "hex": "#bab139",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 57
  },
  "hsl": {
    "h": 55.814,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74623,
    "c": 0.13752,
    "h": 105
  },
  "luminance": 0.42179
}

Semantic roles & 50–950 ramp

primary
#BAB139
secondary
#878BC8
accent
#55DC4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB139

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

Preview Lab → · Contrast checker → · Palette generator →

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