#BBB631#BBB631

#BBB631 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.147 H 107.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#BBB631
RGBrgb(187, 182, 49)
HSLhsl(58, 58%, 46%)
HSVhsv(58, 74%, 73%)
CMYKcmyk(0%, 2.7%, 73.8%, 26.7%)
CIE-LABlab(72.39, -13.37, 63.83)
CIE-LCHlch(72.39, 65.22, 101.83°)
OKLaboklab(75.74% -0.0436 0.1405)
OKLCHoklch(75.74% 0.147 107.2)
XYZxyz(37.7773, 44.2438, 9.4551)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB631 #3136BB
analogous
#BB7131 #BBB631 #7BBB31
triadic
#BBB631 #31BBB6 #B631BB
tetradic
#BBB631 #31BB71 #3136BB #BB317B
square
#BBB631 #31BB71 #3136BB #BB317B
split-complementary
#BBB631 #317BBB #7131BB
monochromatic
#5A5818 #8B8724 #BBB631 #D3CE56 #E0DC87

Accessibility & contrast

On white

2.13
#BBB631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#BBB631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB631
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB631#FFFFFF#000000##000000
##BBB6311.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF16
Deuteranopia (green-blind)
#C8B43B
Tritanopia (blue-blind)
#C9AA9D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bbb631;
/* rgb */ color: rgb(187, 182, 49);
/* oklch */ color: oklch(75.7% 0.147 107.2);
Tailwind
colors: {
  custom: {
    50: '#d3cb73',
    500: '#bbb631',
    950: '#000000',
  },
}
SCSS
$custom: #bbb631;
$custom-light: #d3cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb631",
  "rgb": {
    "r": 187,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 57.826,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7574,
    "c": 0.14707,
    "h": 107.2
  },
  "luminance": 0.44242
}

Semantic roles & 50–950 ramp

primary
#BBB631
secondary
#7F81C9
accent
#4CE246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBB631

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

Preview Lab → · Contrast checker → · Palette generator →

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