#BAB141#BAB141

#BAB141 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.7% C 0.132 H 104.7°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#BAB141
RGBrgb(186, 177, 65)
HSLhsl(56, 48%, 49%)
HSVhsv(56, 65%, 73%)
CMYKcmyk(0%, 4.8%, 65.1%, 27.1%)
CIE-LABlab(71.05, -10.39, 56.35)
CIE-LCHlch(71.05, 57.30, 100.45°)
OKLaboklab(74.69% -0.0335 0.1274)
OKLCHoklch(74.69% 0.132 104.7)
XYZxyz(36.9274, 42.2664, 11.2131)
Luminance0.4227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB141 #414ABA
analogous
#BA7541 #BAB141 #87BA41
triadic
#BAB141 #41BAB1 #B141BA
tetradic
#BAB141 #41BA75 #414ABA #BA4187
square
#BAB141 #41BA75 #414ABA #BA4187
split-complementary
#BAB141 #4187BA #7541BA
monochromatic
#5F5B21 #8D8631 #BAB141 #CCC56C #DCD79A

Accessibility & contrast

On white

2.22
#BAB141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#BAB141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB141
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB141#FFFFFF#000000##000000
##BAB1411.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB33
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#C7A59A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab141;
/* rgb */ color: rgb(186, 177, 65);
/* oklch */ color: oklch(74.7% 0.132 104.7);
Tailwind
colors: {
  custom: {
    50: '#d2c87b',
    500: '#bab141',
    950: '#000000',
  },
}
SCSS
$custom: #bab141;
$custom-light: #d2c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#bab141",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 65
  },
  "hsl": {
    "h": 55.537,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74689,
    "c": 0.13176,
    "h": 104.7
  },
  "luminance": 0.42265
}

Semantic roles & 50–950 ramp

primary
#BAB141
secondary
#8F93C8
accent
#5AD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB141

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

Preview Lab → · Contrast checker → · Palette generator →

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