#BBBB40#BBBB40

#BBBB40 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.9% C 0.142 H 109.3°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#BBBB40
RGBrgb(187, 187, 64)
HSLhsl(60, 49%, 49%)
HSVhsv(60, 66%, 73%)
CMYKcmyk(0%, 0%, 65.8%, 26.7%)
CIE-LABlab(73.85, -15.15, 59.69)
CIE-LCHlch(73.85, 61.58, 104.24°)
OKLaboklab(76.94% -0.0471 0.1343)
OKLCHoklch(76.94% 0.142 109.3)
XYZxyz(39.1905, 46.4767, 11.7560)
Luminance0.4648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB40 #4040BB
analogous
#BB7E40 #BBBB40 #7EBB40
triadic
#BBBB40 #40BBBB #BB40BB
tetradic
#BBBB40 #40BB7E #4040BB #BB407E
square
#BBBB40 #40BB7E #4040BB #BB407E
split-complementary
#BBBB40 #407EBB #7E40BB
monochromatic
#606021 #8D8D30 #BBBB40 #CDCD6C #DCDC99

Accessibility & contrast

On white

2.04
#BBBB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#BBBB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBB40
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBB40#FFFFFF#000000##000000
##BBBB401.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32F
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#C8AFA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bbbb40;
/* rgb */ color: rgb(187, 187, 64);
/* oklch */ color: oklch(76.9% 0.142 109.3);
Tailwind
colors: {
  custom: {
    50: '#d3cf7b',
    500: '#bbbb40',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb40;
$custom-light: #d3cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb40",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76938,
    "c": 0.14231,
    "h": 109.3
  },
  "luminance": 0.46476
}

Semantic roles & 50–950 ramp

primary
#BBBB40
secondary
#8F8FC8
accent
#4FD94F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BBBB40

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

Preview Lab → · Contrast checker → · Palette generator →

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