#BBA331#BBA331

#BBA331 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.7% C 0.131 H 96.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#BBA331
RGBrgb(187, 163, 49)
HSLhsl(50, 58%, 46%)
HSVhsv(50, 74%, 73%)
CMYKcmyk(0%, 12.8%, 73.8%, 26.7%)
CIE-LABlab(67.26, -3.45, 58.95)
CIE-LCHlch(67.26, 59.05, 93.35°)
OKLaboklab(71.67% -0.0156 0.1301)
OKLCHoklch(71.67% 0.131 96.8)
XYZxyz(34.1468, 36.9827, 8.2449)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA331 #3149BB
analogous
#BB5E31 #BBA331 #8EBB31
triadic
#BBA331 #31BBA3 #A331BB
tetradic
#BBA331 #31BB5E #3149BB #BB318E
square
#BBA331 #31BB5E #3149BB #BB318E
split-complementary
#BBA331 #318EBB #5E31BB
monochromatic
#5A4E18 #8B7924 #BBA331 #D3BD56 #E0D087

Accessibility & contrast

On white

2.50
#BBA331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#BBA331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA331
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA331#FFFFFF#000000##000000
##BBA3311.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1E
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#CA968D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bba331;
/* rgb */ color: rgb(187, 163, 49);
/* oklch */ color: oklch(71.7% 0.131 96.8);
Tailwind
colors: {
  custom: {
    50: '#d3bd71',
    500: '#bba331',
    950: '#000000',
  },
}
SCSS
$custom: #bba331;
$custom-light: #d3bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#bba331",
  "rgb": {
    "r": 187,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 49.565,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71666,
    "c": 0.13103,
    "h": 96.8
  },
  "luminance": 0.36981
}

Semantic roles & 50–950 ramp

primary
#BBA331
secondary
#7F8CC9
accent
#61E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BBA331

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

Preview Lab → · Contrast checker → · Palette generator →

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