#BBBC28#BBBC28

#BBBC28 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.0% C 0.157 H 110.0°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#BBBC28
RGBrgb(187, 188, 40)
HSLhsl(60, 65%, 45%)
HSVhsv(60, 79%, 74%)
CMYKcmyk(0.5%, 0%, 78.7%, 26.3%)
CIE-LABlab(73.99, -16.78, 68.12)
CIE-LCHlch(73.99, 70.16, 103.83°)
OKLaboklab(77% -0.0538 0.148)
OKLCHoklch(77% 0.157 110)
XYZxyz(38.8612, 46.6856, 8.9712)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBC28 #2928BC
analogous
#BC7328 #BBBC28 #71BC28
triadic
#BBBC28 #28BBBC #BC28BB
tetradic
#BBBC28 #28BC73 #2928BC #BC2871
square
#BBBC28 #28BC73 #2928BC #BC2871
split-complementary
#BBBC28 #2871BC #7328BC
monochromatic
#575713 #898A1D #BBBC28 #D7D849 #E2E37B

Accessibility & contrast

On white

2.03
#BBBC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#BBBC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBC28
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBC28#FFFFFF#000000##000000
##BBBC281.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CDB836
Tritanopia (blue-blind)
#C9B0A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bbbc28;
/* rgb */ color: rgb(187, 188, 40);
/* oklch */ color: oklch(77.0% 0.157 110.0);
Tailwind
colors: {
  custom: {
    50: '#d3cf70',
    500: '#bbbc28',
    950: '#000000',
  },
}
SCSS
$custom: #bbbc28;
$custom-light: #d3cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbc28",
  "rgb": {
    "r": 187,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 60.405,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.77001,
    "c": 0.15745,
    "h": 110
  },
  "luminance": 0.46684
}

Semantic roles & 50–950 ramp

primary
#BBBC28
secondary
#7575CB
accent
#40E841
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBBC28

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

Preview Lab → · Contrast checker → · Palette generator →

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