#BBA732#BBA732

#BBA732 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.5% C 0.133 H 99.2°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#BBA732
RGBrgb(187, 167, 50)
HSLhsl(51, 58%, 46%)
HSVhsv(51, 73%, 73%)
CMYKcmyk(0%, 10.7%, 73.3%, 26.7%)
CIE-LABlab(68.34, -5.53, 59.61)
CIE-LCHlch(68.34, 59.86, 95.30°)
OKLaboklab(72.52% -0.0214 0.1317)
OKLCHoklch(72.52% 0.133 99.2)
XYZxyz(34.8896, 38.4342, 8.5978)
Luminance0.3843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA732 #3246BB
analogous
#BB6332 #BBA732 #8BBB32
triadic
#BBA732 #32BBA7 #A732BB
tetradic
#BBA732 #32BB63 #3246BB #BB328B
square
#BBA732 #32BB63 #3246BB #BB328B
split-complementary
#BBA732 #328BBB #6332BB
monochromatic
#5A5118 #8B7C25 #BBA732 #D2C058 #DFD388

Accessibility & contrast

On white

2.42
#BBA732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#BBA732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA732
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA732#FFFFFF#000000##000000
##BBA7321.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A31E
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#CA9A90
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bba732;
/* rgb */ color: rgb(187, 167, 50);
/* oklch */ color: oklch(72.5% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#d3c072',
    500: '#bba732',
    950: '#000000',
  },
}
SCSS
$custom: #bba732;
$custom-light: #d3c072;
$custom-dark: #000000;
JSON
{
  "hex": "#bba732",
  "rgb": {
    "r": 187,
    "g": 167,
    "b": 50
  },
  "hsl": {
    "h": 51.241,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7252,
    "c": 0.13341,
    "h": 99.2
  },
  "luminance": 0.38433
}

Semantic roles & 50–950 ramp

primary
#BBA732
secondary
#808AC9
accent
#5DE147
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BBA732

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

Preview Lab → · Contrast checker → · Palette generator →

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