#BAB433#BAB433

#BAB433 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.2% C 0.144 H 106.7°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#BAB433
RGBrgb(186, 180, 51)
HSLhsl(57, 57%, 46%)
HSVhsv(57, 73%, 73%)
CMYKcmyk(0%, 3.2%, 72.6%, 27.1%)
CIE-LABlab(71.77, -12.69, 62.52)
CIE-LCHlch(71.77, 63.79, 101.47°)
OKLaboklab(75.23% -0.0414 0.1381)
OKLCHoklch(75.23% 0.144 106.7)
XYZxyz(37.1700, 43.3220, 9.5353)
Luminance0.4332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB433 #3339BA
analogous
#BA7133 #BAB433 #7DBA33
triadic
#BAB433 #33BAB4 #B433BA
tetradic
#BAB433 #33BA71 #3339BA #BA337D
square
#BAB433 #33BA71 #3339BA #BA337D
split-complementary
#BAB433 #337DBA #7133BA
monochromatic
#5A5719 #8A8626 #BAB433 #D1CC59 #DFDB89

Accessibility & contrast

On white

2.17
#BAB433 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#BAB433 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB433
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB433#FFFFFF#000000##000000
##BAB4331.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1B
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#C8A89B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab433;
/* rgb */ color: rgb(186, 180, 51);
/* oklch */ color: oklch(75.2% 0.144 106.7);
Tailwind
colors: {
  custom: {
    50: '#d2ca74',
    500: '#bab433',
    950: '#000000',
  },
}
SCSS
$custom: #bab433;
$custom-light: #d2ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#bab433",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 51
  },
  "hsl": {
    "h": 57.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75231,
    "c": 0.14416,
    "h": 106.7
  },
  "luminance": 0.43321
}

Semantic roles & 50–950 ramp

primary
#BAB433
secondary
#8083C9
accent
#4EE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB433

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

Preview Lab → · Contrast checker → · Palette generator →

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