#B2BB30#B2BB30

#B2BB30 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.155 H 113.3°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#B2BB30
RGBrgb(178, 187, 48)
HSLhsl(64, 59%, 46%)
HSVhsv(64, 74%, 73%)
CMYKcmyk(4.8%, 0%, 74.3%, 26.7%)
CIE-LABlab(73.04, -19.80, 64.52)
CIE-LCHlch(73.04, 67.49, 107.06°)
OKLaboklab(76.08% -0.0611 0.1421)
OKLCHoklch(76.08% 0.155 113.3)
XYZxyz(36.6651, 45.2198, 9.5926)
Luminance0.4522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB30 #3930BB
analogous
#BB7E30 #B2BB30 #6CBB30
triadic
#B2BB30 #30B2BB #BB30B2
tetradic
#B2BB30 #30BB7E #3930BB #BB306C
square
#B2BB30 #30BB7E #3930BB #BB306C
split-complementary
#B2BB30 #306CBB #7E30BB
monochromatic
#555A17 #848A23 #B2BB30 #CBD355 #DAE086

Accessibility & contrast

On white

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

On black

10.04
#B2BB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB30
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB30#FFFFFF#000000##000000
##B2BB301.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B211
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#BEB0A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2bb30;
/* rgb */ color: rgb(178, 187, 48);
/* oklch */ color: oklch(76.1% 0.155 113.3);
Tailwind
colors: {
  custom: {
    50: '#cdcf73',
    500: '#b2bb30',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb30;
$custom-light: #cdcf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb30",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 48
  },
  "hsl": {
    "h": 63.885,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76077,
    "c": 0.15465,
    "h": 113.3
  },
  "luminance": 0.45219
}

Semantic roles & 50–950 ramp

primary
#B2BB30
secondary
#827DC9
accent
#45E250
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BB30

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

Preview Lab → · Contrast checker → · Palette generator →

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