#B4BB28#B4BB28

#B4BB28 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.2% C 0.158 H 112.5°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#B4BB28
RGBrgb(180, 187, 40)
HSLhsl(63, 65%, 45%)
HSVhsv(63, 79%, 73%)
CMYKcmyk(3.7%, 0%, 78.6%, 26.7%)
CIE-LABlab(73.15, -19.27, 67.17)
CIE-LCHlch(73.15, 69.88, 106.01°)
OKLaboklab(76.2% -0.0604 0.1462)
OKLCHoklch(76.2% 0.158 112.5)
XYZxyz(36.9770, 45.3980, 8.8219)
Luminance0.4540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB28 #2F28BB
analogous
#BB7928 #B4BB28 #6BBB28
triadic
#B4BB28 #28B4BB #BB28B4
tetradic
#B4BB28 #28BB79 #2F28BB #BB286B
square
#B4BB28 #28BB79 #2F28BB #BB286B
split-complementary
#B4BB28 #286BBB #7928BB
monochromatic
#535612 #83891D #B4BB28 #D1D848 #DEE37B

Accessibility & contrast

On white

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

On black

10.08
#B4BB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BB28
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BB28#FFFFFF#000000##000000
##B4BB281.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4bb28;
/* rgb */ color: rgb(180, 187, 40);
/* oklch */ color: oklch(76.2% 0.158 112.5);
Tailwind
colors: {
  custom: {
    50: '#cecf6f',
    500: '#b4bb28',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb28;
$custom-light: #cecf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb28",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 40
  },
  "hsl": {
    "h": 62.857,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76196,
    "c": 0.15819,
    "h": 112.5
  },
  "luminance": 0.45397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4BB28

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

Preview Lab → · Contrast checker → · Palette generator →

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