#BBB642#BBB642

#BBB642 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.9% C 0.136 H 106.8°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#BBB642
RGBrgb(187, 182, 66)
HSLhsl(58, 48%, 50%)
HSVhsv(58, 65%, 73%)
CMYKcmyk(0%, 2.7%, 64.7%, 26.7%)
CIE-LABlab(72.51, -12.48, 57.47)
CIE-LCHlch(72.51, 58.81, 102.25°)
OKLaboklab(75.87% -0.0394 0.1299)
OKLCHoklch(75.87% 0.136 106.8)
XYZxyz(38.2062, 44.4153, 11.7137)
Luminance0.4441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB642 #4247BB
analogous
#BB7A42 #BBB642 #83BB42
triadic
#BBB642 #42BBB6 #B642BB
tetradic
#BBB642 #42BB7A #4247BB #BB4283
square
#BBB642 #42BB7A #4247BB #BB4283
split-complementary
#BBB642 #4283BB #7A42BB
monochromatic
#615E22 #8E8A32 #BBB642 #CCC86E #DCD99C

Accessibility & contrast

On white

2.12
#BBB642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#BBB642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB642
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB642#FFFFFF#000000##000000
##BBB6421.002.129.889.88
#FFFFFF2.121.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF33
Deuteranopia (green-blind)
#C7B449
Tritanopia (blue-blind)
#C8AA9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bbb642;
/* rgb */ color: rgb(187, 182, 66);
/* oklch */ color: oklch(75.9% 0.136 106.8);
Tailwind
colors: {
  custom: {
    50: '#d2cb7c',
    500: '#bbb642',
    950: '#000000',
  },
}
SCSS
$custom: #bbb642;
$custom-light: #d2cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb642",
  "rgb": {
    "r": 187,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 57.521,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75868,
    "c": 0.13577,
    "h": 106.8
  },
  "luminance": 0.44414
}

Semantic roles & 50–950 ramp

primary
#BBB642
secondary
#9193C8
accent
#56D750
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBB642

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

Preview Lab → · Contrast checker → · Palette generator →

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