#BBB945#BBB945

#BBB945 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.5% C 0.137 H 108.3°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#BBB945
RGBrgb(187, 185, 69)
HSLhsl(59, 46%, 50%)
HSVhsv(59, 63%, 73%)
CMYKcmyk(0%, 1.1%, 63.1%, 26.7%)
CIE-LABlab(73.35, -13.83, 57.11)
CIE-LCHlch(73.35, 58.76, 103.61°)
OKLaboklab(76.55% -0.0428 0.1296)
OKLCHoklch(76.55% 0.137 108.3)
XYZxyz(38.9179, 45.6935, 12.3987)
Luminance0.4569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB945 #4547BB
analogous
#BB7E45 #BBB945 #82BB45
triadic
#BBB945 #45BBB9 #B945BB
tetradic
#BBB945 #45BB7E #4547BB #BB4582
square
#BBB945 #45BB7E #4547BB #BB4582
split-complementary
#BBB945 #4582BB #7E45BB
monochromatic
#626124 #8F8D34 #BBB945 #CBCA72 #DCDB9F

Accessibility & contrast

On white

2.07
#BBB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#BBB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB945
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB945#FFFFFF#000000##000000
##BBB9451.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B236
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#C8AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bbb945;
/* rgb */ color: rgb(187, 185, 69);
/* oklch */ color: oklch(76.5% 0.137 108.3);
Tailwind
colors: {
  custom: {
    50: '#d2cd7e',
    500: '#bbb945',
    950: '#000000',
  },
}
SCSS
$custom: #bbb945;
$custom-light: #d2cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb945",
  "rgb": {
    "r": 187,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 58.983,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76546,
    "c": 0.13651,
    "h": 108.3
  },
  "luminance": 0.45692
}

Semantic roles & 50–950 ramp

primary
#BBB945
secondary
#9494C8
accent
#54D652
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBB945

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

Preview Lab → · Contrast checker → · Palette generator →

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