#BAB13B#BAB13B

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

Color values

HEX#BAB13B
RGBrgb(186, 177, 59)
HSLhsl(56, 52%, 48%)
HSVhsv(56, 68%, 73%)
CMYKcmyk(0%, 4.8%, 68.3%, 27.1%)
CIE-LABlab(71.01, -10.74, 58.75)
CIE-LCHlch(71.01, 59.72, 100.36°)
OKLaboklab(74.64% -0.0351 0.1315)
OKLCHoklch(74.64% 0.136 104.9)
XYZxyz(36.7627, 42.2005, 10.3459)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB13B #3B44BA
analogous
#BA713B #BAB13B #83BA3B
triadic
#BAB13B #3BBAB1 #B13BBA
tetradic
#BAB13B #3BBA71 #3B44BA #BA3B83
square
#BAB13B #3BBA71 #3B44BA #BA3B83
split-complementary
#BAB13B #3B83BA #713BBA
monochromatic
#5D591E #8C852C #BAB13B #CEC664 #DDD793

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB13B#FFFFFF#000000##000000
##BAB13B1.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)
#C0AB2A
Deuteranopia (green-blind)
#C3B043
Tritanopia (blue-blind)
#C8A599
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab13b;
/* rgb */ color: rgb(186, 177, 59);
/* oklch */ color: oklch(74.6% 0.136 104.9);
Tailwind
colors: {
  custom: {
    50: '#d2c878',
    500: '#bab13b',
    950: '#000000',
  },
}
SCSS
$custom: #bab13b;
$custom-light: #d2c878;
$custom-dark: #000000;
JSON
{
  "hex": "#bab13b",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 59
  },
  "hsl": {
    "h": 55.748,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74639,
    "c": 0.13614,
    "h": 104.9
  },
  "luminance": 0.42199
}

Semantic roles & 50–950 ramp

primary
#BAB13B
secondary
#898DC8
accent
#57DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB13B

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

Preview Lab → · Contrast checker → · Palette generator →

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