#BBBD21#BBBD21

#BBBD21 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.2% C 0.161 H 110.4°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#BBBD21
RGBrgb(187, 189, 33)
HSLhsl(61, 70%, 44%)
HSVhsv(61, 83%, 74%)
CMYKcmyk(1.1%, 0%, 82.5%, 25.9%)
CIE-LABlab(74.24, -17.50, 70.20)
CIE-LCHlch(74.24, 72.35, 104.00°)
OKLaboklab(77.19% -0.0564 0.1512)
OKLCHoklch(77.19% 0.161 110.4)
XYZxyz(38.9671, 47.0709, 8.4715)
Luminance0.4707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBD21 #2321BD
analogous
#BD7121 #BBBD21 #6DBD21
triadic
#BBBD21 #21BBBD #BD21BB
tetradic
#BBBD21 #21BD71 #2321BD #BD216D
square
#BBBD21 #21BD71 #2321BD #BD216D
split-complementary
#BBBD21 #216DBD #7121BD
monochromatic
#54550F #878918 #BBBD21 #DBDD3E #E5E672

Accessibility & contrast

On white

2.02
#BBBD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#BBBD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBD21
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBD21#FFFFFF#000000##000000
##BBBD211.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB400
Deuteranopia (green-blind)
#CEB831
Tritanopia (blue-blind)
#C9B1A1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bbbd21;
/* rgb */ color: rgb(187, 189, 33);
/* oklch */ color: oklch(77.2% 0.161 110.4);
Tailwind
colors: {
  custom: {
    50: '#d4d06d',
    500: '#bbbd21',
    950: '#000000',
  },
}
SCSS
$custom: #bbbd21;
$custom-light: #d4d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbd21",
  "rgb": {
    "r": 187,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 60.769,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7719,
    "c": 0.16134,
    "h": 110.4
  },
  "luminance": 0.4707
}

Semantic roles & 50–950 ramp

primary
#BBBD21
secondary
#6E6DCD
accent
#3BED3D
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBBD21

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

Preview Lab → · Contrast checker → · Palette generator →

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