#BBB342#BBB342

#BBB342 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.2% C 0.133 H 105.3°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#BBB342
RGBrgb(187, 179, 66)
HSLhsl(56, 48%, 50%)
HSVhsv(56, 65%, 73%)
CMYKcmyk(0%, 4.3%, 64.7%, 26.7%)
CIE-LABlab(71.69, -10.94, 56.62)
CIE-LCHlch(71.69, 57.67, 100.93°)
OKLaboklab(75.22% -0.035 0.1281)
OKLCHoklch(75.22% 0.133 105.3)
XYZxyz(37.5984, 43.1997, 11.5111)
Luminance0.4320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB342 #424ABB
analogous
#BB7742 #BBB342 #87BB42
triadic
#BBB342 #42BBB3 #B342BB
tetradic
#BBB342 #42BB77 #424ABB #BB4287
square
#BBB342 #42BB77 #424ABB #BB4287
split-complementary
#BBB342 #4287BB #7742BB
monochromatic
#615C22 #8E8832 #BBB342 #CCC66E #DCD89C

Accessibility & contrast

On white

2.18
#BBB342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#BBB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB342
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB342#FFFFFF#000000##000000
##BBB3421.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD33
Deuteranopia (green-blind)
#C5B249
Tritanopia (blue-blind)
#C8A79C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bbb342;
/* rgb */ color: rgb(187, 179, 66);
/* oklch */ color: oklch(75.2% 0.133 105.3);
Tailwind
colors: {
  custom: {
    50: '#d2c97c',
    500: '#bbb342',
    950: '#000000',
  },
}
SCSS
$custom: #bbb342;
$custom-light: #d2c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb342",
  "rgb": {
    "r": 187,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 56.033,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75219,
    "c": 0.13283,
    "h": 105.3
  },
  "luminance": 0.43198
}

Semantic roles & 50–950 ramp

primary
#BBB342
secondary
#9194C8
accent
#59D750
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBB342

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

Preview Lab → · Contrast checker → · Palette generator →

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