#BBAD31#BBAD31

#BBAD31 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.8% C 0.139 H 102.7°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#BBAD31
RGBrgb(187, 173, 49)
HSLhsl(54, 58%, 46%)
HSVhsv(54, 74%, 73%)
CMYKcmyk(0%, 7.5%, 73.8%, 26.7%)
CIE-LABlab(69.95, -8.72, 61.52)
CIE-LCHlch(69.95, 62.13, 98.07°)
OKLaboklab(73.8% -0.0305 0.1356)
OKLCHoklch(73.8% 0.139 102.7)
XYZxyz(35.9931, 40.6752, 8.8603)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAD31 #313FBB
analogous
#BB6831 #BBAD31 #84BB31
triadic
#BBAD31 #31BBAD #AD31BB
tetradic
#BBAD31 #31BB68 #313FBB #BB3184
square
#BBAD31 #31BB68 #313FBB #BB3184
split-complementary
#BBAD31 #3184BB #6831BB
monochromatic
#5A5318 #8B8024 #BBAD31 #D3C656 #E0D787

Accessibility & contrast

On white

2.30
#BBAD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#BBAD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAD31
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAD31#FFFFFF#000000##000000
##BBAD311.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71A
Deuteranopia (green-blind)
#C1AE3A
Tritanopia (blue-blind)
#C9A195
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bbad31;
/* rgb */ color: rgb(187, 173, 49);
/* oklch */ color: oklch(73.8% 0.139 102.7);
Tailwind
colors: {
  custom: {
    50: '#d3c572',
    500: '#bbad31',
    950: '#000000',
  },
}
SCSS
$custom: #bbad31;
$custom-light: #d3c572;
$custom-dark: #000000;
JSON
{
  "hex": "#bbad31",
  "rgb": {
    "r": 187,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 53.913,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73795,
    "c": 0.13894,
    "h": 102.7
  },
  "luminance": 0.40674
}

Semantic roles & 50–950 ramp

primary
#BBAD31
secondary
#7F86C9
accent
#56E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BBAD31

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

Preview Lab → · Contrast checker → · Palette generator →

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