#B4BB23#B4BB23

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

Color values

HEX#B4BB23
RGBrgb(180, 187, 35)
HSLhsl(63, 68%, 44%)
HSVhsv(63, 81%, 73%)
CMYKcmyk(3.7%, 0%, 81.3%, 26.7%)
CIE-LABlab(73.13, -19.45, 68.53)
CIE-LCHlch(73.13, 71.23, 105.84°)
OKLaboklab(76.17% -0.0613 0.1482)
OKLCHoklch(76.17% 0.16 112.5)
XYZxyz(36.8974, 45.3662, 8.4027)
Luminance0.4536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB23 #2A23BB
analogous
#BB7623 #B4BB23 #68BB23
triadic
#B4BB23 #23B4BB #BB23B4
tetradic
#B4BB23 #23BB76 #2A23BB #BB2368
square
#B4BB23 #23BB76 #2A23BB #BB2368
split-complementary
#B4BB23 #2368BB #7623BB
monochromatic
#515410 #828719 #B4BB23 #D4DB40 #E0E574

Accessibility & contrast

On white

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

On black

10.07
#B4BB23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BB23
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BB23#FFFFFF#000000##000000
##B4BB231.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4bb23;
/* rgb */ color: rgb(180, 187, 35);
/* oklch */ color: oklch(76.2% 0.160 112.5);
Tailwind
colors: {
  custom: {
    50: '#cecf6d',
    500: '#b4bb23',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb23;
$custom-light: #cecf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb23",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 35
  },
  "hsl": {
    "h": 62.763,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76173,
    "c": 0.16038,
    "h": 112.5
  },
  "luminance": 0.45365
}

Semantic roles & 50–950 ramp

primary
#B4BB23
secondary
#726ECC
accent
#3CEB45
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4BB23

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

Preview Lab → · Contrast checker → · Palette generator →

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