#BAB33A#BAB33A

#BAB33A is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.1% C 0.139 H 106.0°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#BAB33A
RGBrgb(186, 179, 58)
HSLhsl(57, 52%, 48%)
HSVhsv(57, 69%, 73%)
CMYKcmyk(0%, 3.8%, 68.8%, 27.1%)
CIE-LABlab(71.55, -11.83, 59.68)
CIE-LCHlch(71.55, 60.84, 101.21°)
OKLaboklab(75.06% -0.0383 0.1333)
OKLCHoklch(75.06% 0.139 106)
XYZxyz(37.1349, 42.9861, 10.3432)
Luminance0.4299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB33A #3A41BA
analogous
#BA733A #BAB33A #81BA3A
triadic
#BAB33A #3ABAB3 #B33ABA
tetradic
#BAB33A #3ABA73 #3A41BA #BA3A81
square
#BAB33A #3ABA73 #3A41BA #BA3A81
split-complementary
#BAB33A #3A81BA #733ABA
monochromatic
#5D591D #8B862B #BAB33A #CEC863 #DDD992

Accessibility & contrast

On white

2.19
#BAB33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#BAB33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB33A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB33A#FFFFFF#000000##000000
##BAB33A1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC28
Deuteranopia (green-blind)
#C5B242
Tritanopia (blue-blind)
#C7A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab33a;
/* rgb */ color: rgb(186, 179, 58);
/* oklch */ color: oklch(75.1% 0.139 106.0);
Tailwind
colors: {
  custom: {
    50: '#d2c977',
    500: '#bab33a',
    950: '#000000',
  },
}
SCSS
$custom: #bab33a;
$custom-light: #d2c977;
$custom-dark: #000000;
JSON
{
  "hex": "#bab33a",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 56.719,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75064,
    "c": 0.13872,
    "h": 106
  },
  "luminance": 0.42985
}

Semantic roles & 50–950 ramp

primary
#BAB33A
secondary
#888BC8
accent
#54DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB33A

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

Preview Lab → · Contrast checker → · Palette generator →

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