#BBB845#BBB845

#BBB845 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.3% C 0.135 H 107.8°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#BBB845
RGBrgb(187, 184, 69)
HSLhsl(58, 46%, 50%)
HSVhsv(58, 63%, 73%)
CMYKcmyk(0%, 1.6%, 63.1%, 26.7%)
CIE-LABlab(73.07, -13.32, 56.82)
CIE-LCHlch(73.07, 58.36, 103.19°)
OKLaboklab(76.33% -0.0414 0.129)
OKLCHoklch(76.33% 0.135 107.8)
XYZxyz(38.7095, 45.2766, 12.3293)
Luminance0.4527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB845 #4548BB
analogous
#BB7D45 #BBB845 #83BB45
triadic
#BBB845 #45BBB8 #B845BB
tetradic
#BBB845 #45BB7D #4548BB #BB4583
square
#BBB845 #45BB7D #4548BB #BB4583
split-complementary
#BBB845 #4583BB #7D45BB
monochromatic
#626024 #8F8C34 #BBB845 #CBC972 #DCDA9F

Accessibility & contrast

On white

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

On black

10.06
#BBB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB845
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB845#FFFFFF#000000##000000
##BBB8451.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbb845;
/* rgb */ color: rgb(187, 184, 69);
/* oklch */ color: oklch(76.3% 0.135 107.8);
Tailwind
colors: {
  custom: {
    50: '#d2cd7e',
    500: '#bbb845',
    950: '#000000',
  },
}
SCSS
$custom: #bbb845;
$custom-light: #d2cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb845",
  "rgb": {
    "r": 187,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 58.475,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76329,
    "c": 0.13549,
    "h": 107.8
  },
  "luminance": 0.45275
}

Semantic roles & 50–950 ramp

primary
#BBB845
secondary
#9495C8
accent
#55D652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBB845

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

Preview Lab → · Contrast checker → · Palette generator →

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