#BABB32#BABB32

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

Color values

HEX#BABB32
RGBrgb(186, 187, 50)
HSLhsl(60, 58%, 46%)
HSVhsv(60, 73%, 73%)
CMYKcmyk(0.5%, 0%, 73.3%, 26.7%)
CIE-LABlab(73.68, -16.30, 64.68)
CIE-LCHlch(73.68, 66.70, 104.14°)
OKLaboklab(76.75% -0.0516 0.1425)
OKLCHoklch(76.75% 0.152 109.9)
XYZxyz(38.5971, 46.2112, 9.9035)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB32 #3332BB
analogous
#BB7832 #BABB32 #76BB32
triadic
#BABB32 #32BABB #BB32BA
tetradic
#BABB32 #32BB78 #3332BB #BB3276
square
#BABB32 #32BB78 #3332BB #BB3276
split-complementary
#BABB32 #3276BB #7832BB
monochromatic
#5A5A18 #8A8B25 #BABB32 #D1D258 #DFDF88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB32#FFFFFF#000000##000000
##BABB321.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)
#CAB315
Deuteranopia (green-blind)
#CCB73D
Tritanopia (blue-blind)
#C7AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb32;
/* rgb */ color: rgb(186, 187, 50);
/* oklch */ color: oklch(76.8% 0.152 109.9);
Tailwind
colors: {
  custom: {
    50: '#d2cf74',
    500: '#babb32',
    950: '#000000',
  },
}
SCSS
$custom: #babb32;
$custom-light: #d2cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#babb32",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 50
  },
  "hsl": {
    "h": 60.438,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76753,
    "c": 0.15155,
    "h": 109.9
  },
  "luminance": 0.4621
}

Semantic roles & 50–950 ramp

primary
#BABB32
secondary
#8080C9
accent
#47E148
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABB32

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

Preview Lab → · Contrast checker → · Palette generator →

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