#BBB251#BBB251

#BBB251 is a light, moderate yellow. Relative luminance 0.430; OKLCH L 75.2% C 0.119 H 104.0°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#BBB251
RGBrgb(187, 178, 81)
HSLhsl(55, 44%, 53%)
HSVhsv(55, 57%, 73%)
CMYKcmyk(0%, 4.8%, 56.7%, 26.7%)
CIE-LABlab(71.56, -9.38, 49.80)
CIE-LCHlch(71.56, 50.68, 100.66°)
OKLaboklab(75.16% -0.0288 0.1157)
OKLCHoklch(75.16% 0.119 104)
XYZxyz(37.9003, 43.0010, 14.0866)
Luminance0.4300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB251 #515ABB
analogous
#BB7D51 #BBB251 #8FBB51
triadic
#BBB251 #51BBB2 #B251BB
tetradic
#BBB251 #51BB7D #515ABB #BB518F
square
#BBB251 #51BB7D #515ABB #BB518F
split-complementary
#BBB251 #518FBB #7D51BB
monochromatic
#696329 #958D3A #BBB251 #CCC57D #DDD9A9

Accessibility & contrast

On white

2.19
#BBB251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#BBB251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB251
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB251#FFFFFF#000000##000000
##BBB2511.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC47
Deuteranopia (green-blind)
#C3B256
Tritanopia (blue-blind)
#C8A79D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb251;
/* rgb */ color: rgb(187, 178, 81);
/* oklch */ color: oklch(75.2% 0.119 104.0);
Tailwind
colors: {
  custom: {
    50: '#d2c885',
    500: '#bbb251',
    950: '#000000',
  },
}
SCSS
$custom: #bbb251;
$custom-light: #d2c885;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb251",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 81
  },
  "hsl": {
    "h": 54.906,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75155,
    "c": 0.11923,
    "h": 104
  },
  "luminance": 0.43
}

Semantic roles & 50–950 ramp

primary
#BBB251
secondary
#9DA1CB
accent
#5FD454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBB251

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

Preview Lab → · Contrast checker → · Palette generator →

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