#B5BB32#B5BB32

#B5BB32 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.3% C 0.153 H 112.0°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#B5BB32
RGBrgb(181, 187, 50)
HSLhsl(63, 58%, 46%)
HSVhsv(63, 73%, 73%)
CMYKcmyk(3.2%, 0%, 73.3%, 26.7%)
CIE-LABlab(73.28, -18.43, 64.16)
CIE-LCHlch(73.28, 66.76, 106.03°)
OKLaboklab(76.33% -0.0573 0.1416)
OKLCHoklch(76.33% 0.153 112)
XYZxyz(37.4033, 45.5956, 9.8475)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB32 #3832BB
analogous
#BB7D32 #B5BB32 #71BB32
triadic
#B5BB32 #32B5BB #BB32B5
tetradic
#B5BB32 #32BB7D #3832BB #BB3271
square
#B5BB32 #32BB7D #3832BB #BB3271
split-complementary
#B5BB32 #3271BB #7D32BB
monochromatic
#585A18 #868B25 #B5BB32 #CDD258 #DBDF88

Accessibility & contrast

On white

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

On black

10.12
#B5BB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB32
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB32#FFFFFF#000000##000000
##B5BB321.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5bb32;
/* rgb */ color: rgb(181, 187, 50);
/* oklch */ color: oklch(76.3% 0.153 112.0);
Tailwind
colors: {
  custom: {
    50: '#cfcf74',
    500: '#b5bb32',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb32;
$custom-light: #cfcf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb32",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 50
  },
  "hsl": {
    "h": 62.628,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76335,
    "c": 0.15271,
    "h": 112
  },
  "luminance": 0.45595
}

Semantic roles & 50–950 ramp

primary
#B5BB32
secondary
#8380C9
accent
#47E14E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BB32

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

Preview Lab → · Contrast checker → · Palette generator →

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