#BBB840#BBB840

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

Color values

HEX#BBB840
RGBrgb(187, 184, 64)
HSLhsl(59, 49%, 49%)
HSVhsv(59, 66%, 73%)
CMYKcmyk(0%, 1.6%, 65.8%, 26.7%)
CIE-LABlab(73.03, -13.62, 58.84)
CIE-LCHlch(73.03, 60.40, 103.04°)
OKLaboklab(76.29% -0.0428 0.1325)
OKLCHoklch(76.29% 0.139 107.9)
XYZxyz(38.5608, 45.2171, 11.5460)
Luminance0.4522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB840 #4043BB
analogous
#BB7B40 #BBB840 #80BB40
triadic
#BBB840 #40BBB8 #B840BB
tetradic
#BBB840 #40BB7B #4043BB #BB4080
square
#BBB840 #40BB7B #4043BB #BB4080
split-complementary
#BBB840 #4080BB #7B40BB
monochromatic
#605E21 #8D8B30 #BBB840 #CDCA6C #DCDB99

Accessibility & contrast

On white

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

On black

10.04
#BBB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB840
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB840#FFFFFF#000000##000000
##BBB8401.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C9B548
Tritanopia (blue-blind)
#C8ACA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bbb840;
/* rgb */ color: rgb(187, 184, 64);
/* oklch */ color: oklch(76.3% 0.139 107.9);
Tailwind
colors: {
  custom: {
    50: '#d3cd7b',
    500: '#bbb840',
    950: '#000000',
  },
}
SCSS
$custom: #bbb840;
$custom-light: #d3cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb840",
  "rgb": {
    "r": 187,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 58.537,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76285,
    "c": 0.13926,
    "h": 107.9
  },
  "luminance": 0.45216
}

Semantic roles & 50–950 ramp

primary
#BBB840
secondary
#8F90C8
accent
#53D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BBB840

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

Preview Lab → · Contrast checker → · Palette generator →

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