#BBA140#BBA140

#BBA140 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.4% C 0.119 H 94.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#BBA140
RGBrgb(187, 161, 64)
HSLhsl(47, 49%, 49%)
HSVhsv(47, 66%, 73%)
CMYKcmyk(0%, 13.9%, 65.8%, 26.7%)
CIE-LABlab(66.84, -1.58, 52.36)
CIE-LCHlch(66.84, 52.38, 91.73°)
OKLaboklab(71.37% -0.0085 0.1188)
OKLCHoklch(71.37% 0.119 94.1)
XYZxyz(34.1654, 36.4265, 10.0809)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA140 #405ABB
analogous
#BB6440 #BBA140 #98BB40
triadic
#BBA140 #40BBA1 #A140BB
tetradic
#BBA140 #40BB64 #405ABB #BB4098
square
#BBA140 #40BB64 #405ABB #BB4098
split-complementary
#BBA140 #4098BB #6440BB
monochromatic
#605221 #8D7A30 #BBA140 #CDB86C #DCCE99

Accessibility & contrast

On white

2.53
#BBA140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#BBA140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA140
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA140#FFFFFF#000000##000000
##BBA1401.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#B8A645
Tritanopia (blue-blind)
#CA958D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bba140;
/* rgb */ color: rgb(187, 161, 64);
/* oklch */ color: oklch(71.4% 0.119 94.1);
Tailwind
colors: {
  custom: {
    50: '#d3bc79',
    500: '#bba140',
    950: '#000000',
  },
}
SCSS
$custom: #bba140;
$custom-light: #d3bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#bba140",
  "rgb": {
    "r": 187,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 47.317,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7137,
    "c": 0.1191,
    "h": 94.1
  },
  "luminance": 0.36425
}

Semantic roles & 50–950 ramp

primary
#BBA140
secondary
#8F9BC8
accent
#6CD94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BBA140

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

Preview Lab → · Contrast checker → · Palette generator →

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