#BBA545#BBA545

#BBA545 is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.3% C 0.118 H 96.4°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#BBA545
RGBrgb(187, 165, 69)
HSLhsl(49, 46%, 50%)
HSVhsv(49, 63%, 73%)
CMYKcmyk(0%, 11.8%, 63.1%, 26.7%)
CIE-LABlab(67.95, -3.39, 51.31)
CIE-LCHlch(67.95, 51.42, 93.79°)
OKLaboklab(72.26% -0.0131 0.1173)
OKLCHoklch(72.26% 0.118 96.4)
XYZxyz(35.0244, 37.9064, 11.1009)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA545 #455BBB
analogous
#BB6A45 #BBA545 #96BB45
triadic
#BBA545 #45BBA5 #A545BB
tetradic
#BBA545 #45BB6A #455BBB #BB4596
square
#BBA545 #45BB6A #455BBB #BB4596
split-complementary
#BBA545 #4596BB #6A45BB
monochromatic
#625624 #8F7E34 #BBA545 #CBBB72 #DCD09F

Accessibility & contrast

On white

2.45
#BBA545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#BBA545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA545
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA545#FFFFFF#000000##000000
##BBA5451.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A13A
Deuteranopia (green-blind)
#BAA94A
Tritanopia (blue-blind)
#C99990
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bba545;
/* rgb */ color: rgb(187, 165, 69);
/* oklch */ color: oklch(72.3% 0.118 96.4);
Tailwind
colors: {
  custom: {
    50: '#d2bf7d',
    500: '#bba545',
    950: '#000000',
  },
}
SCSS
$custom: #bba545;
$custom-light: #d2bf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bba545",
  "rgb": {
    "r": 187,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 48.814,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7226,
    "c": 0.11807,
    "h": 96.4
  },
  "luminance": 0.37905
}

Semantic roles & 50–950 ramp

primary
#BBA545
secondary
#949DC8
accent
#6AD652
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BBA545

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

Preview Lab → · Contrast checker → · Palette generator →

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