#BBBD40#BBBD40

#BBBD40 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.4% C 0.144 H 110.2°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#BBBD40
RGBrgb(187, 189, 64)
HSLhsl(61, 49%, 50%)
HSVhsv(61, 66%, 74%)
CMYKcmyk(1.1%, 0%, 66.1%, 25.9%)
CIE-LABlab(74.40, -16.16, 60.25)
CIE-LCHlch(74.40, 62.38, 105.02°)
OKLaboklab(77.38% -0.0499 0.1355)
OKLCHoklch(77.38% 0.144 110.2)
XYZxyz(39.6178, 47.3312, 11.8984)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBD40 #4240BD
analogous
#BD8140 #BBBD40 #7DBD40
triadic
#BBBD40 #40BBBD #BD40BB
tetradic
#BBBD40 #40BD81 #4240BD #BD407D
square
#BBBD40 #40BD81 #4240BD #BD407D
split-complementary
#BBBD40 #407DBD #8140BD
monochromatic
#616221 #8E8F31 #BBBD40 #CCCD6D #DCDD9A

Accessibility & contrast

On white

2.01
#BBBD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#BBBD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBD40
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBD40#FFFFFF#000000##000000
##BBBD401.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52E
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#C8B1A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bbbd40;
/* rgb */ color: rgb(187, 189, 64);
/* oklch */ color: oklch(77.4% 0.144 110.2);
Tailwind
colors: {
  custom: {
    50: '#d3d07c',
    500: '#bbbd40',
    950: '#000000',
  },
}
SCSS
$custom: #bbbd40;
$custom-light: #d3d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbd40",
  "rgb": {
    "r": 187,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 60.96,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77376,
    "c": 0.14438,
    "h": 110.2
  },
  "luminance": 0.4733
}

Semantic roles & 50–950 ramp

primary
#BBBD40
secondary
#9190C9
accent
#4FD951
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BBBD40

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

Preview Lab → · Contrast checker → · Palette generator →

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