#BBA45F#BBA45F

#BBA45F is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.4% C 0.093 H 91.5°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#BBA45F
RGBrgb(187, 164, 95)
HSLhsl(45, 40%, 55%)
HSVhsv(45, 49%, 73%)
CMYKcmyk(0%, 12.3%, 49.2%, 26.7%)
CIE-LABlab(67.98, -0.77, 38.68)
CIE-LCHlch(67.98, 38.69, 91.13°)
OKLaboklab(72.38% -0.0025 0.0928)
OKLCHoklch(72.38% 0.093 91.5)
XYZxyz(35.8357, 37.9435, 16.2605)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA45F #5F76BB
analogous
#BB765F #BBA45F #A4BB5F
triadic
#BBA45F #5FBBA4 #A45FBB
tetradic
#BBA45F #5FBB76 #5F76BB #BB5FA4
square
#BBA45F #5FBB76 #5F76BB #BB5FA4
split-complementary
#BBA45F #5FA4BB #765FBB
monochromatic
#706030 #9B8542 #BBA45F #CDBC8A #E0D5B5

Accessibility & contrast

On white

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

On black

8.59
#BBA45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA45F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA45F#FFFFFF#000000##000000
##BBA45F1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A259
Deuteranopia (green-blind)
#B7A962
Tritanopia (blue-blind)
#C89A93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bba45f;
/* rgb */ color: rgb(187, 164, 95);
/* oklch */ color: oklch(72.4% 0.093 91.5);
Tailwind
colors: {
  custom: {
    50: '#d1be8e',
    500: '#bba45f',
    950: '#000000',
  },
}
SCSS
$custom: #bba45f;
$custom-light: #d1be8e;
$custom-dark: #000000;
JSON
{
  "hex": "#bba45f",
  "rgb": {
    "r": 187,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 45,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.72376,
    "c": 0.09278,
    "h": 91.5
  },
  "luminance": 0.37942
}

Semantic roles & 50–950 ramp

primary
#BBA45F
secondary
#A8B1CE
accent
#76D058
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BBA45F

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

Preview Lab → · Contrast checker → · Palette generator →

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