#BBBB30#BBBB30

#BBBB30 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.8% C 0.152 H 109.5°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#BBBB30
RGBrgb(187, 187, 48)
HSLhsl(60, 59%, 46%)
HSVhsv(60, 74%, 73%)
CMYKcmyk(0%, 0%, 74.3%, 26.7%)
CIE-LABlab(73.75, -15.96, 65.44)
CIE-LCHlch(73.75, 67.36, 103.70°)
OKLaboklab(76.83% -0.0509 0.1437)
OKLCHoklch(76.83% 0.152 109.5)
XYZxyz(38.7988, 46.3200, 9.6926)
Luminance0.4632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB30 #3030BB
analogous
#BB7530 #BBBB30 #75BB30
triadic
#BBBB30 #30BBBB #BB30BB
tetradic
#BBBB30 #30BB75 #3030BB #BB3075
square
#BBBB30 #30BB75 #3030BB #BB3075
split-complementary
#BBBB30 #3075BB #7530BB
monochromatic
#5A5A17 #8A8A23 #BBBB30 #D3D355 #E0E086

Accessibility & contrast

On white

2.05
#BBBB30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#BBBB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBB30
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBB30#FFFFFF#000000##000000
##BBBB301.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB310
Deuteranopia (green-blind)
#CCB73B
Tritanopia (blue-blind)
#C8AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bbbb30;
/* rgb */ color: rgb(187, 187, 48);
/* oklch */ color: oklch(76.8% 0.152 109.5);
Tailwind
colors: {
  custom: {
    50: '#d3cf73',
    500: '#bbbb30',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb30;
$custom-light: #d3cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb30",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76825,
    "c": 0.15245,
    "h": 109.5
  },
  "luminance": 0.46319
}

Semantic roles & 50–950 ramp

primary
#BBBB30
secondary
#7D7DC9
accent
#45E245
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBBB30

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

Preview Lab → · Contrast checker → · Palette generator →

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