#BBA532#BBA532

#BBA532 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.132 H 98.0°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#BBA532
RGBrgb(187, 165, 50)
HSLhsl(50, 58%, 46%)
HSVhsv(50, 73%, 73%)
CMYKcmyk(0%, 11.8%, 73.3%, 26.7%)
CIE-LABlab(67.80, -4.47, 59.09)
CIE-LCHlch(67.80, 59.26, 94.32°)
OKLaboklab(72.1% -0.0184 0.1306)
OKLCHoklch(72.1% 0.132 98)
XYZxyz(34.5261, 37.7071, 8.4766)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA532 #3248BB
analogous
#BB6132 #BBA532 #8DBB32
triadic
#BBA532 #32BBA5 #A532BB
tetradic
#BBA532 #32BB61 #3248BB #BB328D
square
#BBA532 #32BB61 #3248BB #BB328D
split-complementary
#BBA532 #328DBB #6132BB
monochromatic
#5A5018 #8B7A25 #BBA532 #D2BF58 #DFD188

Accessibility & contrast

On white

2.46
#BBA532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#BBA532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA532
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA532#FFFFFF#000000##000000
##BBA5321.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11F
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#CA988E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bba532;
/* rgb */ color: rgb(187, 165, 50);
/* oklch */ color: oklch(72.1% 0.132 98.0);
Tailwind
colors: {
  custom: {
    50: '#d3bf72',
    500: '#bba532',
    950: '#000000',
  },
}
SCSS
$custom: #bba532;
$custom-light: #d3bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#bba532",
  "rgb": {
    "r": 187,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 50.365,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72096,
    "c": 0.13189,
    "h": 98
  },
  "luminance": 0.37705
}

Semantic roles & 50–950 ramp

primary
#BBA532
secondary
#808CC9
accent
#60E147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BBA532

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

Preview Lab → · Contrast checker → · Palette generator →

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