#BBB340#BBB340

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

Color values

HEX#BBB340
RGBrgb(187, 179, 64)
HSLhsl(56, 49%, 49%)
HSVhsv(56, 66%, 73%)
CMYKcmyk(0%, 4.3%, 65.8%, 26.7%)
CIE-LABlab(71.67, -11.06, 57.44)
CIE-LCHlch(71.67, 58.49, 100.90°)
OKLaboklab(75.2% -0.0355 0.1296)
OKLCHoklch(75.2% 0.134 105.3)
XYZxyz(37.5404, 43.1765, 11.2059)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB340 #4048BB
analogous
#BB7640 #BBB340 #85BB40
triadic
#BBB340 #40BBB3 #B340BB
tetradic
#BBB340 #40BB76 #4048BB #BB4085
square
#BBB340 #40BB76 #4048BB #BB4085
split-complementary
#BBB340 #4085BB #7640BB
monochromatic
#605C21 #8D8730 #BBB340 #CDC66C #DCD899

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBB340#FFFFFF#000000##000000
##BBB3401.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)
#C2AD31
Deuteranopia (green-blind)
#C5B247
Tritanopia (blue-blind)
#C8A79B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bbb340;
/* rgb */ color: rgb(187, 179, 64);
/* oklch */ color: oklch(75.2% 0.134 105.3);
Tailwind
colors: {
  custom: {
    50: '#d3c97b',
    500: '#bbb340',
    950: '#000000',
  },
}
SCSS
$custom: #bbb340;
$custom-light: #d3c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb340",
  "rgb": {
    "r": 187,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 56.098,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75201,
    "c": 0.13434,
    "h": 105.3
  },
  "luminance": 0.43175
}

Semantic roles & 50–950 ramp

primary
#BBB340
secondary
#8F92C8
accent
#58D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BBB340

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

Preview Lab → · Contrast checker → · Palette generator →

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