#B4BB30#B4BB30

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

Color values

HEX#B4BB30
RGBrgb(180, 187, 48)
HSLhsl(63, 59%, 46%)
HSVhsv(63, 74%, 73%)
CMYKcmyk(3.7%, 0%, 74.3%, 26.7%)
CIE-LABlab(73.19, -18.95, 64.72)
CIE-LCHlch(73.19, 67.44, 106.32°)
OKLaboklab(76.24% -0.0589 0.1424)
OKLCHoklch(76.24% 0.154 112.5)
XYZxyz(37.1274, 45.4582, 9.6143)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB30 #3730BB
analogous
#BB7C30 #B4BB30 #6EBB30
triadic
#B4BB30 #30B4BB #BB30B4
tetradic
#B4BB30 #30BB7C #3730BB #BB306E
square
#B4BB30 #30BB7C #3730BB #BB306E
split-complementary
#B4BB30 #306EBB #7C30BB
monochromatic
#565A17 #858A23 #B4BB30 #CDD355 #DBE086

Accessibility & contrast

On white

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

On black

10.09
#B4BB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BB30
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BB30#FFFFFF#000000##000000
##B4BB301.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B211
Deuteranopia (green-blind)
#CAB53C
Tritanopia (blue-blind)
#C0AFA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4bb30;
/* rgb */ color: rgb(180, 187, 48);
/* oklch */ color: oklch(76.2% 0.154 112.5);
Tailwind
colors: {
  custom: {
    50: '#cecf73',
    500: '#b4bb30',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb30;
$custom-light: #cecf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb30",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 48
  },
  "hsl": {
    "h": 63.022,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7624,
    "c": 0.1541,
    "h": 112.5
  },
  "luminance": 0.45457
}

Semantic roles & 50–950 ramp

primary
#B4BB30
secondary
#817DC9
accent
#45E24D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BB30

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

Preview Lab → · Contrast checker → · Palette generator →

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