#B5BB33#B5BB33

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

Color values

HEX#B5BB33
RGBrgb(181, 187, 51)
HSLhsl(63, 57%, 47%)
HSVhsv(63, 73%, 73%)
CMYKcmyk(3.2%, 0%, 72.7%, 26.7%)
CIE-LABlab(73.29, -18.39, 63.82)
CIE-LCHlch(73.29, 66.42, 106.07°)
OKLaboklab(76.34% -0.0571 0.141)
OKLCHoklch(76.34% 0.152 112)
XYZxyz(37.4251, 45.6043, 9.9624)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB33 #3933BB
analogous
#BB7D33 #B5BB33 #71BB33
triadic
#B5BB33 #33B5BB #BB33B5
tetradic
#B5BB33 #33BB7D #3933BB #BB3371
square
#B5BB33 #33BB7D #3933BB #BB3371
split-complementary
#B5BB33 #3371BB #7D33BB
monochromatic
#585B19 #868B26 #B5BB33 #CDD259 #DBDF89

Accessibility & contrast

On white

2.07
#B5BB33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BB33#FFFFFF#000000##000000
##B5BB331.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5bb33;
/* rgb */ color: rgb(181, 187, 51);
/* oklch */ color: oklch(76.3% 0.152 112.0);
Tailwind
colors: {
  custom: {
    50: '#cfcf75',
    500: '#b5bb33',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb33;
$custom-light: #cfcf75;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb33",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 51
  },
  "hsl": {
    "h": 62.647,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76341,
    "c": 0.15213,
    "h": 112
  },
  "luminance": 0.45603
}

Semantic roles & 50–950 ramp

primary
#B5BB33
secondary
#8481C9
accent
#47E04E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BB33

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

Preview Lab → · Contrast checker → · Palette generator →

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