#BBB531#BBB531

#BBB531 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.5% C 0.146 H 106.8°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#BBB531
RGBrgb(187, 181, 49)
HSLhsl(57, 58%, 46%)
HSVhsv(57, 74%, 73%)
CMYKcmyk(0%, 3.2%, 73.8%, 26.7%)
CIE-LABlab(72.12, -12.86, 63.58)
CIE-LCHlch(72.12, 64.86, 101.44°)
OKLaboklab(75.52% -0.0422 0.1399)
OKLCHoklch(75.52% 0.146 106.8)
XYZxyz(37.5733, 43.8356, 9.3871)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB531 #3137BB
analogous
#BB7031 #BBB531 #7CBB31
triadic
#BBB531 #31BBB5 #B531BB
tetradic
#BBB531 #31BB70 #3137BB #BB317C
square
#BBB531 #31BB70 #3137BB #BB317C
split-complementary
#BBB531 #317CBB #7031BB
monochromatic
#5A5718 #8B8624 #BBB531 #D3CD56 #E0DC87

Accessibility & contrast

On white

2.15
#BBB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#BBB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB531
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB531#FFFFFF#000000##000000
##BBB5311.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE16
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#C9A99C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bbb531;
/* rgb */ color: rgb(187, 181, 49);
/* oklch */ color: oklch(75.5% 0.146 106.8);
Tailwind
colors: {
  custom: {
    50: '#d3ca73',
    500: '#bbb531',
    950: '#000000',
  },
}
SCSS
$custom: #bbb531;
$custom-light: #d3ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb531",
  "rgb": {
    "r": 187,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 57.391,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75523,
    "c": 0.14613,
    "h": 106.8
  },
  "luminance": 0.43834
}

Semantic roles & 50–950 ramp

primary
#BBB531
secondary
#7F82C9
accent
#4DE246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBB531

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

Preview Lab → · Contrast checker → · Palette generator →

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