#BAB933#BAB933

#BAB933 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.149 H 109.0°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#BAB933
RGBrgb(186, 185, 51)
HSLhsl(60, 57%, 46%)
HSVhsv(60, 73%, 73%)
CMYKcmyk(0%, 0.5%, 72.6%, 27.1%)
CIE-LABlab(73.14, -15.24, 63.82)
CIE-LCHlch(73.14, 65.62, 103.43°)
OKLaboklab(76.32% -0.0486 0.1408)
OKLCHoklch(76.32% 0.149 109)
XYZxyz(38.1976, 45.3772, 9.8779)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB933 #3334BA
analogous
#BA7633 #BAB933 #78BA33
triadic
#BAB933 #33BAB9 #B933BA
tetradic
#BAB933 #33BA76 #3334BA #BA3378
square
#BAB933 #33BA76 #3334BA #BA3378
split-complementary
#BAB933 #3378BA #7633BA
monochromatic
#5A5919 #8A8926 #BAB933 #D1D159 #DFDE89

Accessibility & contrast

On white

2.08
#BAB933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#BAB933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB933
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB933#FFFFFF#000000##000000
##BAB9331.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B119
Deuteranopia (green-blind)
#CAB63D
Tritanopia (blue-blind)
#C7AD9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bab933;
/* rgb */ color: rgb(186, 185, 51);
/* oklch */ color: oklch(76.3% 0.149 109.0);
Tailwind
colors: {
  custom: {
    50: '#d2cd74',
    500: '#bab933',
    950: '#000000',
  },
}
SCSS
$custom: #bab933;
$custom-light: #d2cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#bab933",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 51
  },
  "hsl": {
    "h": 59.556,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76321,
    "c": 0.14898,
    "h": 109
  },
  "luminance": 0.45376
}

Semantic roles & 50–950 ramp

primary
#BAB933
secondary
#8081C9
accent
#49E048
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB933

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

Preview Lab → · Contrast checker → · Palette generator →

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