#BAB33B#BAB33B

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

Color values

HEX#BAB33B
RGBrgb(186, 179, 59)
HSLhsl(57, 52%, 48%)
HSVhsv(57, 68%, 73%)
CMYKcmyk(0%, 3.8%, 68.3%, 27.1%)
CIE-LABlab(71.55, -11.77, 59.30)
CIE-LCHlch(71.55, 60.46, 101.23°)
OKLaboklab(75.07% -0.038 0.1327)
OKLCHoklch(75.07% 0.138 106)
XYZxyz(37.1606, 42.9964, 10.4785)
Luminance0.4299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB33B #3B42BA
analogous
#BA733B #BAB33B #81BA3B
triadic
#BAB33B #3BBAB3 #B33BBA
tetradic
#BAB33B #3BBA73 #3B42BA #BA3B81
square
#BAB33B #3BBA73 #3B42BA #BA3B81
split-complementary
#BAB33B #3B81BA #733BBA
monochromatic
#5D5A1E #8C862C #BAB33B #CEC864 #DDD993

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB33B#FFFFFF#000000##000000
##BAB33B1.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)
#C2AC29
Deuteranopia (green-blind)
#C5B243
Tritanopia (blue-blind)
#C7A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab33b;
/* rgb */ color: rgb(186, 179, 59);
/* oklch */ color: oklch(75.1% 0.138 106.0);
Tailwind
colors: {
  custom: {
    50: '#d2c978',
    500: '#bab33b',
    950: '#000000',
  },
}
SCSS
$custom: #bab33b;
$custom-light: #d2c978;
$custom-dark: #000000;
JSON
{
  "hex": "#bab33b",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 56.693,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75072,
    "c": 0.13804,
    "h": 106
  },
  "luminance": 0.42995
}

Semantic roles & 50–950 ramp

primary
#BAB33B
secondary
#898CC8
accent
#54DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB33B

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

Preview Lab → · Contrast checker → · Palette generator →

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