#B2BB23#B2BB23

#B2BB23 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.0% C 0.161 H 113.2°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#B2BB23
RGBrgb(178, 187, 35)
HSLhsl(64, 68%, 44%)
HSVhsv(64, 81%, 73%)
CMYKcmyk(4.8%, 0%, 81.3%, 26.7%)
CIE-LABlab(72.98, -20.30, 68.33)
CIE-LCHlch(72.98, 71.28, 106.55°)
OKLaboklab(76.01% -0.0635 0.1479)
OKLCHoklch(76.01% 0.161 113.2)
XYZxyz(36.4350, 45.1278, 8.3810)
Luminance0.4513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB23 #2C23BB
analogous
#BB7823 #B2BB23 #66BB23
triadic
#B2BB23 #23B2BB #BB23B2
tetradic
#B2BB23 #23BB78 #2C23BB #BB2366
square
#B2BB23 #23BB78 #2C23BB #BB2366
split-complementary
#B2BB23 #2366BB #7823BB
monochromatic
#505410 #818719 #B2BB23 #D2DB40 #DEE574

Accessibility & contrast

On white

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

On black

10.03
#B2BB23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB23
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB23#FFFFFF#000000##000000
##B2BB231.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2bb23;
/* rgb */ color: rgb(178, 187, 35);
/* oklch */ color: oklch(76.0% 0.161 113.2);
Tailwind
colors: {
  custom: {
    50: '#cdcf6d',
    500: '#b2bb23',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb23;
$custom-light: #cdcf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb23",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 35
  },
  "hsl": {
    "h": 63.553,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76009,
    "c": 0.16095,
    "h": 113.2
  },
  "luminance": 0.45127
}

Semantic roles & 50–950 ramp

primary
#B2BB23
secondary
#736ECC
accent
#3CEB47
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2BB23

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

Preview Lab → · Contrast checker → · Palette generator →

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