#BABB33#BABB33

#BABB33 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.8% C 0.151 H 109.9°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#BABB33
RGBrgb(186, 187, 51)
HSLhsl(60, 57%, 47%)
HSVhsv(60, 73%, 73%)
CMYKcmyk(0.5%, 0%, 72.7%, 26.7%)
CIE-LABlab(73.69, -16.25, 64.34)
CIE-LCHlch(73.69, 66.37, 104.18°)
OKLaboklab(76.76% -0.0514 0.1419)
OKLCHoklch(76.76% 0.151 109.9)
XYZxyz(38.6189, 46.2199, 10.0183)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB33 #3433BB
analogous
#BB7833 #BABB33 #76BB33
triadic
#BABB33 #33BABB #BB33BA
tetradic
#BABB33 #33BB78 #3433BB #BB3376
square
#BABB33 #33BB78 #3433BB #BB3376
split-complementary
#BABB33 #3376BB #7833BB
monochromatic
#5A5B19 #8A8B26 #BABB33 #D1D259 #DEDF89

Accessibility & contrast

On white

2.05
#BABB33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#BABB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB33
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB33#FFFFFF#000000##000000
##BABB331.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB318
Deuteranopia (green-blind)
#CBB73E
Tritanopia (blue-blind)
#C7AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb33;
/* rgb */ color: rgb(186, 187, 51);
/* oklch */ color: oklch(76.8% 0.151 109.9);
Tailwind
colors: {
  custom: {
    50: '#d2cf75',
    500: '#babb33',
    950: '#000000',
  },
}
SCSS
$custom: #babb33;
$custom-light: #d2cf75;
$custom-dark: #000000;
JSON
{
  "hex": "#babb33",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 51
  },
  "hsl": {
    "h": 60.441,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76759,
    "c": 0.15096,
    "h": 109.9
  },
  "luminance": 0.46219
}

Semantic roles & 50–950 ramp

primary
#BABB33
secondary
#8181C9
accent
#47E049
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABB33

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

Preview Lab → · Contrast checker → · Palette generator →

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