#BAB14C#BAB14C

#BAB14C is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.8% C 0.123 H 104.2°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#BAB14C
RGBrgb(186, 177, 76)
HSLhsl(55, 44%, 51%)
HSVhsv(55, 59%, 73%)
CMYKcmyk(0%, 4.8%, 59.1%, 27.1%)
CIE-LABlab(71.15, -9.65, 51.63)
CIE-LCHlch(71.15, 52.53, 100.59°)
OKLaboklab(74.8% -0.0301 0.119)
OKLCHoklch(74.8% 0.123 104.2)
XYZxyz(37.2776, 42.4065, 13.0577)
Luminance0.4240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB14C #4C55BA
analogous
#BA7A4C #BAB14C #8CBA4C
triadic
#BAB14C #4CBAB1 #B14CBA
tetradic
#BAB14C #4CBA7A #4C55BA #BA4C8C
square
#BAB14C #4CBA7A #4C55BA #BA4C8C
split-complementary
#BAB14C #4C8CBA #7A4CBA
monochromatic
#656027 #918A38 #BAB14C #CBC478 #DCD7A4

Accessibility & contrast

On white

2.21
#BAB14C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#BAB14C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB14C
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB14C#FFFFFF#000000##000000
##BAB14C1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB41
Deuteranopia (green-blind)
#C2B051
Tritanopia (blue-blind)
#C7A69B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab14c;
/* rgb */ color: rgb(186, 177, 76);
/* oklch */ color: oklch(74.8% 0.123 104.2);
Tailwind
colors: {
  custom: {
    50: '#d1c882',
    500: '#bab14c',
    950: '#000000',
  },
}
SCSS
$custom: #bab14c;
$custom-light: #d1c882;
$custom-dark: #000000;
JSON
{
  "hex": "#bab14c",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 76
  },
  "hsl": {
    "h": 55.091,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74797,
    "c": 0.12276,
    "h": 104.2
  },
  "luminance": 0.42405
}

Semantic roles & 50–950 ramp

primary
#BAB14C
secondary
#999DC9
accent
#5ED454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB14C

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

Preview Lab → · Contrast checker → · Palette generator →

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