#BBB031#BBB031

#BBB031 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.4% C 0.142 H 104.3°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#BBB031
RGBrgb(187, 176, 49)
HSLhsl(55, 58%, 46%)
HSVhsv(55, 74%, 73%)
CMYKcmyk(0%, 5.9%, 73.8%, 26.7%)
CIE-LABlab(70.76, -10.29, 62.29)
CIE-LCHlch(70.76, 63.13, 99.38°)
OKLaboklab(74.44% -0.0349 0.1372)
OKLCHoklch(74.44% 0.142 104.3)
XYZxyz(36.5748, 41.8387, 9.0542)
Luminance0.4184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB031 #313CBB
analogous
#BB6B31 #BBB031 #81BB31
triadic
#BBB031 #31BBB0 #B031BB
tetradic
#BBB031 #31BB6B #313CBB #BB3181
square
#BBB031 #31BB6B #313CBB #BB3181
split-complementary
#BBB031 #3181BB #6B31BB
monochromatic
#5A5518 #8B8224 #BBB031 #D3C956 #E0D887

Accessibility & contrast

On white

2.24
#BBB031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#BBB031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB031
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB031#FFFFFF#000000##000000
##BBB0311.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA19
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#C9A498
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbb031;
/* rgb */ color: rgb(187, 176, 49);
/* oklch */ color: oklch(74.4% 0.142 104.3);
Tailwind
colors: {
  custom: {
    50: '#d3c772',
    500: '#bbb031',
    950: '#000000',
  },
}
SCSS
$custom: #bbb031;
$custom-light: #d3c772;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb031",
  "rgb": {
    "r": 187,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 55.217,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74441,
    "c": 0.14156,
    "h": 104.3
  },
  "luminance": 0.41837
}

Semantic roles & 50–950 ramp

primary
#BBB031
secondary
#7F85C9
accent
#53E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBB031

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

Preview Lab → · Contrast checker → · Palette generator →

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