#BBA945#BBA945

#BBA945 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.1% C 0.121 H 99.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#BBA945
RGBrgb(187, 169, 69)
HSLhsl(51, 46%, 50%)
HSVhsv(51, 63%, 73%)
CMYKcmyk(0%, 9.6%, 63.1%, 26.7%)
CIE-LABlab(69.02, -5.52, 52.47)
CIE-LCHlch(69.02, 52.76, 96.00°)
OKLaboklab(73.11% -0.0192 0.1198)
OKLCHoklch(73.11% 0.121 99.1)
XYZxyz(35.7571, 39.3720, 11.3451)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA945 #4557BB
analogous
#BB6E45 #BBA945 #92BB45
triadic
#BBA945 #45BBA9 #A945BB
tetradic
#BBA945 #45BB6E #4557BB #BB4592
square
#BBA945 #45BB6E #4557BB #BB4592
split-complementary
#BBA945 #4592BB #6E45BB
monochromatic
#625824 #8F8134 #BBA945 #CBBE72 #DCD29F

Accessibility & contrast

On white

2.37
#BBA945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#BBA945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA945
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA945#FFFFFF#000000##000000
##BBA9451.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A539
Deuteranopia (green-blind)
#BDAB4A
Tritanopia (blue-blind)
#C99D94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bba945;
/* rgb */ color: rgb(187, 169, 69);
/* oklch */ color: oklch(73.1% 0.121 99.1);
Tailwind
colors: {
  custom: {
    50: '#d2c27d',
    500: '#bba945',
    950: '#000000',
  },
}
SCSS
$custom: #bba945;
$custom-light: #d2c27d;
$custom-dark: #000000;
JSON
{
  "hex": "#bba945",
  "rgb": {
    "r": 187,
    "g": 169,
    "b": 69
  },
  "hsl": {
    "h": 50.847,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73106,
    "c": 0.12134,
    "h": 99.1
  },
  "luminance": 0.3937
}

Semantic roles & 50–950 ramp

primary
#BBA945
secondary
#949CC8
accent
#66D652
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BBA945

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

Preview Lab → · Contrast checker → · Palette generator →

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