#BBC928#BBC928

#BBC928 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.9% C 0.171 H 114.8°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#BBC928
RGBrgb(187, 201, 40)
HSLhsl(65, 67%, 47%)
HSVhsv(65, 80%, 79%)
CMYKcmyk(7%, 0%, 80.1%, 21.2%)
CIE-LABlab(77.57, -23.21, 71.28)
CIE-LCHlch(77.57, 74.97, 108.04°)
OKLaboklab(79.87% -0.0716 0.1547)
OKLCHoklch(79.87% 0.171 114.8)
XYZxyz(41.7644, 52.4921, 9.9390)
Luminance0.5249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC928 #3628C9
analogous
#C98628 #BBC928 #6BC928
triadic
#BBC928 #28BBC9 #C928BB
tetradic
#BBC928 #28C986 #3628C9 #C9286B
square
#BBC928 #28C986 #3628C9 #C9286B
split-complementary
#BBC928 #286BC9 #8628C9
monochromatic
#5C6314 #8C961E #BBC928 #D0DD52 #DEE785

Accessibility & contrast

On white

1.83
#BBC928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#BBC928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC928
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC928#FFFFFF#000000##000000
##BBC9281.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D7C138
Tritanopia (blue-blind)
#C8BDAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bbc928;
/* rgb */ color: rgb(187, 201, 40);
/* oklch */ color: oklch(79.9% 0.171 114.8);
Tailwind
colors: {
  custom: {
    50: '#d3d971',
    500: '#bbc928',
    950: '#000000',
  },
}
SCSS
$custom: #bbc928;
$custom-light: #d3d971;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc928",
  "rgb": {
    "r": 187,
    "g": 201,
    "b": 40
  },
  "hsl": {
    "h": 65.217,
    "s": 66.805,
    "l": 47.255
  },
  "oklch": {
    "l": 0.79874,
    "c": 0.17051,
    "h": 114.8
  },
  "luminance": 0.52491
}

Semantic roles & 50–950 ramp

primary
#BBC928
secondary
#2E286D
accent
#3EEA4D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BBC928

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

Preview Lab → · Contrast checker → · Palette generator →

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