#B4BB24#B4BB24

#B4BB24 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#B4BB24
RGBrgb(180, 187, 36)
HSLhsl(63, 68%, 44%)
HSVhsv(63, 81%, 73%)
CMYKcmyk(3.7%, 0%, 80.7%, 26.7%)
CIE-LABlab(73.14, -19.41, 68.27)
CIE-LCHlch(73.14, 70.97, 105.88°)
OKLaboklab(76.18% -0.0611 0.1478)
OKLCHoklch(76.18% 0.16 112.5)
XYZxyz(36.9124, 45.3722, 8.4820)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB24 #2B24BB
analogous
#BB7624 #B4BB24 #68BB24
triadic
#B4BB24 #24B4BB #BB24B4
tetradic
#B4BB24 #24BB76 #2B24BB #BB2468
square
#B4BB24 #24BB76 #2B24BB #BB2468
split-complementary
#B4BB24 #2468BB #7624BB
monochromatic
#515410 #83881A #B4BB24 #D3DB42 #DFE475

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BB24#FFFFFF#000000##000000
##B4BB241.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)
#CAB533
Tritanopia (blue-blind)
#C1AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4bb24;
/* rgb */ color: rgb(180, 187, 36);
/* oklch */ color: oklch(76.2% 0.160 112.5);
Tailwind
colors: {
  custom: {
    50: '#cecf6e',
    500: '#b4bb24',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb24;
$custom-light: #cecf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb24",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 36
  },
  "hsl": {
    "h": 62.781,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.76177,
    "c": 0.15997,
    "h": 112.5
  },
  "luminance": 0.45371
}

Semantic roles & 50–950 ramp

primary
#B4BB24
secondary
#736FCC
accent
#3DEB45
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4BB24

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

Preview Lab → · Contrast checker → · Palette generator →

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