#BBB951#BBB951

#BBB951 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.7% C 0.127 H 108.0°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#BBB951
RGBrgb(187, 185, 81)
HSLhsl(59, 44%, 53%)
HSVhsv(59, 57%, 73%)
CMYKcmyk(0%, 1.1%, 56.7%, 26.7%)
CIE-LABlab(73.45, -12.99, 51.95)
CIE-LCHlch(73.45, 53.55, 104.04°)
OKLaboklab(76.67% -0.0391 0.1203)
OKLCHoklch(76.67% 0.127 108)
XYZxyz(39.3288, 45.8579, 14.5627)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB951 #5153BB
analogous
#BB8451 #BBB951 #88BB51
triadic
#BBB951 #51BBB9 #B951BB
tetradic
#BBB951 #51BB84 #5153BB #BB5188
square
#BBB951 #51BB84 #5153BB #BB5188
split-complementary
#BBB951 #5188BB #8451BB
monochromatic
#696729 #95933A #BBB951 #CCCB7D #DDDCA9

Accessibility & contrast

On white

2.06
#BBB951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#BBB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB951
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB951#FFFFFF#000000##000000
##BBB9511.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B246
Deuteranopia (green-blind)
#C9B657
Tritanopia (blue-blind)
#C7AEA2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bbb951;
/* rgb */ color: rgb(187, 185, 81);
/* oklch */ color: oklch(76.7% 0.127 108.0);
Tailwind
colors: {
  custom: {
    50: '#d2cd85',
    500: '#bbb951',
    950: '#000000',
  },
}
SCSS
$custom: #bbb951;
$custom-light: #d2cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb951",
  "rgb": {
    "r": 187,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 58.868,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76666,
    "c": 0.1265,
    "h": 108
  },
  "luminance": 0.45857
}

Semantic roles & 50–950 ramp

primary
#BBB951
secondary
#9D9ECB
accent
#57D454
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBB951

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

Preview Lab → · Contrast checker → · Palette generator →

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