#BAB633#BAB633

#BAB633 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.7% C 0.146 H 107.7°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#BAB633
RGBrgb(186, 182, 51)
HSLhsl(58, 57%, 46%)
HSVhsv(58, 73%, 73%)
CMYKcmyk(0%, 2.2%, 72.6%, 27.1%)
CIE-LABlab(72.32, -13.72, 63.04)
CIE-LCHlch(72.32, 64.51, 102.27°)
OKLaboklab(75.67% -0.0443 0.1392)
OKLCHoklch(75.67% 0.146 107.7)
XYZxyz(37.5766, 44.1353, 9.6709)
Luminance0.4413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB633 #3337BA
analogous
#BA7333 #BAB633 #7BBA33
triadic
#BAB633 #33BAB6 #B633BA
tetradic
#BAB633 #33BA73 #3337BA #BA337B
square
#BAB633 #33BA73 #3337BA #BA337B
split-complementary
#BAB633 #337BBA #7333BA
monochromatic
#5A5819 #8A8726 #BAB633 #D1CE59 #DFDC89

Accessibility & contrast

On white

2.14
#BAB633 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#BAB633 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB633
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB633#FFFFFF#000000##000000
##BAB6331.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF1A
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#C8AA9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab633;
/* rgb */ color: rgb(186, 182, 51);
/* oklch */ color: oklch(75.7% 0.146 107.7);
Tailwind
colors: {
  custom: {
    50: '#d2cb74',
    500: '#bab633',
    950: '#000000',
  },
}
SCSS
$custom: #bab633;
$custom-light: #d2cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#bab633",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 51
  },
  "hsl": {
    "h": 58.222,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75666,
    "c": 0.14606,
    "h": 107.7
  },
  "luminance": 0.44134
}

Semantic roles & 50–950 ramp

primary
#BAB633
secondary
#8082C9
accent
#4CE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB633

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

Preview Lab → · Contrast checker → · Palette generator →

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