#B3BB28#B3BB28

#B3BB28 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.1% C 0.158 H 112.9°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#B3BB28
RGBrgb(179, 187, 40)
HSLhsl(63, 65%, 45%)
HSVhsv(63, 79%, 73%)
CMYKcmyk(4.3%, 0%, 78.6%, 26.7%)
CIE-LABlab(73.07, -19.70, 67.07)
CIE-LCHlch(73.07, 69.90, 106.37°)
OKLaboklab(76.11% -0.0616 0.146)
OKLCHoklch(76.11% 0.158 112.9)
XYZxyz(36.7450, 45.2784, 8.8110)
Luminance0.4528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BB28 #3028BB
analogous
#BB7928 #B3BB28 #6ABB28
triadic
#B3BB28 #28B3BB #BB28B3
tetradic
#B3BB28 #28BB79 #3028BB #BB286A
square
#B3BB28 #28BB79 #3028BB #BB286A
split-complementary
#B3BB28 #286ABB #7928BB
monochromatic
#525612 #83891D #B3BB28 #D0D848 #DDE37B

Accessibility & contrast

On white

2.09
#B3BB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#B3BB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BB28
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BB28#FFFFFF#000000##000000
##B3BB281.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3bb28;
/* rgb */ color: rgb(179, 187, 40);
/* oklch */ color: oklch(76.1% 0.158 112.9);
Tailwind
colors: {
  custom: {
    50: '#cecf6f',
    500: '#b3bb28',
    950: '#000000',
  },
}
SCSS
$custom: #b3bb28;
$custom-light: #cecf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3bb28",
  "rgb": {
    "r": 179,
    "g": 187,
    "b": 40
  },
  "hsl": {
    "h": 63.265,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76114,
    "c": 0.15847,
    "h": 112.9
  },
  "luminance": 0.45278
}

Semantic roles & 50–950 ramp

primary
#B3BB28
secondary
#7974CB
accent
#40E849
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3BB28

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

Preview Lab → · Contrast checker → · Palette generator →

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