#BBB842#BBB842

#BBB842 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.3% C 0.138 H 107.9°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#BBB842
RGBrgb(187, 184, 66)
HSLhsl(59, 48%, 50%)
HSVhsv(59, 65%, 73%)
CMYKcmyk(0%, 1.6%, 64.7%, 26.7%)
CIE-LABlab(73.05, -13.50, 58.04)
CIE-LCHlch(73.05, 59.59, 103.10°)
OKLaboklab(76.3% -0.0422 0.1311)
OKLCHoklch(76.3% 0.138 107.9)
XYZxyz(38.6187, 45.2403, 11.8512)
Luminance0.4524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB842 #4245BB
analogous
#BB7B42 #BBB842 #82BB42
triadic
#BBB842 #42BBB8 #B842BB
tetradic
#BBB842 #42BB7B #4245BB #BB4282
square
#BBB842 #42BB7B #4245BB #BB4282
split-complementary
#BBB842 #4282BB #7B42BB
monochromatic
#615F22 #8E8B32 #BBB842 #CCCA6E #DCDA9C

Accessibility & contrast

On white

2.09
#BBB842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#BBB842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB842
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB842#FFFFFF#000000##000000
##BBB8421.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B132
Deuteranopia (green-blind)
#C9B549
Tritanopia (blue-blind)
#C8ADA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bbb842;
/* rgb */ color: rgb(187, 184, 66);
/* oklch */ color: oklch(76.3% 0.138 107.9);
Tailwind
colors: {
  custom: {
    50: '#d2cd7c',
    500: '#bbb842',
    950: '#000000',
  },
}
SCSS
$custom: #bbb842;
$custom-light: #d2cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb842",
  "rgb": {
    "r": 187,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 58.512,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76302,
    "c": 0.13777,
    "h": 107.9
  },
  "luminance": 0.45239
}

Semantic roles & 50–950 ramp

primary
#BBB842
secondary
#9192C8
accent
#54D750
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBB842

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

Preview Lab → · Contrast checker → · Palette generator →

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