#B5BB28#B5BB28

#B5BB28 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.158 H 112.1°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#B5BB28
RGBrgb(181, 187, 40)
HSLhsl(62, 65%, 45%)
HSVhsv(62, 79%, 73%)
CMYKcmyk(3.2%, 0%, 78.6%, 26.7%)
CIE-LABlab(73.23, -18.85, 67.27)
CIE-LCHlch(73.23, 69.86, 105.65°)
OKLaboklab(76.28% -0.0593 0.1464)
OKLCHoklch(76.28% 0.158 112.1)
XYZxyz(37.2107, 45.5185, 8.8329)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB28 #2E28BB
analogous
#BB7828 #B5BB28 #6CBB28
triadic
#B5BB28 #28B5BB #BB28B5
tetradic
#B5BB28 #28BB78 #2E28BB #BB286C
square
#B5BB28 #28BB78 #2E28BB #BB286C
split-complementary
#B5BB28 #286CBB #7828BB
monochromatic
#535612 #84891D #B5BB28 #D2D848 #DEE37B

Accessibility & contrast

On white

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

On black

10.10
#B5BB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB28
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB28#FFFFFF#000000##000000
##B5BB281.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CAB536
Tritanopia (blue-blind)
#C2AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bb28;
/* rgb */ color: rgb(181, 187, 40);
/* oklch */ color: oklch(76.3% 0.158 112.1);
Tailwind
colors: {
  custom: {
    50: '#cfcf6f',
    500: '#b5bb28',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb28;
$custom-light: #cfcf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb28",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 40
  },
  "hsl": {
    "h": 62.449,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76279,
    "c": 0.15792,
    "h": 112.1
  },
  "luminance": 0.45518
}

Semantic roles & 50–950 ramp

primary
#B5BB28
secondary
#7874CB
accent
#40E847
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5BB28

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

Preview Lab → · Contrast checker → · Palette generator →

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