#BAB13C#BAB13C

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

Color values

HEX#BAB13C
RGBrgb(186, 177, 60)
HSLhsl(56, 51%, 48%)
HSVhsv(56, 68%, 73%)
CMYKcmyk(0%, 4.8%, 67.7%, 27.1%)
CIE-LABlab(71.02, -10.68, 58.36)
CIE-LCHlch(71.02, 59.33, 100.37°)
OKLaboklab(74.65% -0.0348 0.1309)
OKLCHoklch(74.65% 0.135 104.9)
XYZxyz(36.7889, 42.2110, 10.4838)
Luminance0.4221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB13C #3C45BA
analogous
#BA723C #BAB13C #84BA3C
triadic
#BAB13C #3CBAB1 #B13CBA
tetradic
#BAB13C #3CBA72 #3C45BA #BA3C84
square
#BAB13C #3CBA72 #3C45BA #BA3C84
split-complementary
#BAB13C #3C84BA #723CBA
monochromatic
#5D591E #8C852D #BAB13C #CEC666 #DCD794

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB13C#FFFFFF#000000##000000
##BAB13C1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab13c;
/* rgb */ color: rgb(186, 177, 60);
/* oklch */ color: oklch(74.6% 0.135 104.9);
Tailwind
colors: {
  custom: {
    50: '#d2c878',
    500: '#bab13c',
    950: '#000000',
  },
}
SCSS
$custom: #bab13c;
$custom-light: #d2c878;
$custom-dark: #000000;
JSON
{
  "hex": "#bab13c",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 60
  },
  "hsl": {
    "h": 55.714,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74647,
    "c": 0.13543,
    "h": 104.9
  },
  "luminance": 0.4221
}

Semantic roles & 50–950 ramp

primary
#BAB13C
secondary
#8A8EC8
accent
#57DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB13C

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

Preview Lab → · Contrast checker → · Palette generator →

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