#BBBE21#BBBE21

#BBBE21 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.4% C 0.162 H 110.8°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#BBBE21
RGBrgb(187, 190, 33)
HSLhsl(61, 70%, 44%)
HSVhsv(61, 83%, 75%)
CMYKcmyk(1.6%, 0%, 82.6%, 25.5%)
CIE-LABlab(74.51, -18.00, 70.43)
CIE-LCHlch(74.51, 72.69, 104.34°)
OKLaboklab(77.41% -0.0577 0.1517)
OKLCHoklch(77.41% 0.162 110.8)
XYZxyz(39.1830, 47.5026, 8.5434)
Luminance0.4750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBE21 #2421BE
analogous
#BE7221 #BBBE21 #6DBE21
triadic
#BBBE21 #21BBBE #BE21BB
tetradic
#BBBE21 #21BE72 #2421BE #BE216D
square
#BBBE21 #21BE72 #2421BE #BE216D
split-complementary
#BBBE21 #216DBE #7221BE
monochromatic
#54560F #888A18 #BBBE21 #DBDE3F #E4E773

Accessibility & contrast

On white

2.00
#BBBE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#BBBE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBE21
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBE21#FFFFFF#000000##000000
##BBBE211.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB500
Deuteranopia (green-blind)
#CFB931
Tritanopia (blue-blind)
#C9B2A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bbbe21;
/* rgb */ color: rgb(187, 190, 33);
/* oklch */ color: oklch(77.4% 0.162 110.8);
Tailwind
colors: {
  custom: {
    50: '#d4d16d',
    500: '#bbbe21',
    950: '#000000',
  },
}
SCSS
$custom: #bbbe21;
$custom-light: #d4d16d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbe21",
  "rgb": {
    "r": 187,
    "g": 190,
    "b": 33
  },
  "hsl": {
    "h": 61.146,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7741,
    "c": 0.16231,
    "h": 110.8
  },
  "luminance": 0.47502
}

Semantic roles & 50–950 ramp

primary
#BBBE21
secondary
#6F6DCD
accent
#3BED3E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #BBBE21

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

Preview Lab → · Contrast checker → · Palette generator →

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