#BBB158#BBB158

#BBB158 is a light, moderate yellow. Relative luminance 0.427; OKLCH L 75.0% C 0.112 H 102.9°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#BBB158
RGBrgb(187, 177, 88)
HSLhsl(54, 42%, 54%)
HSVhsv(54, 53%, 73%)
CMYKcmyk(0%, 5.3%, 52.9%, 26.7%)
CIE-LABlab(71.36, -8.28, 46.25)
CIE-LCHlch(71.36, 46.99, 100.15°)
OKLaboklab(75.02% -0.0249 0.1088)
OKLCHoklch(75.02% 0.112 102.9)
XYZxyz(37.9783, 42.7149, 15.4749)
Luminance0.4271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB158 #5862BB
analogous
#BB8058 #BBB158 #94BB58
triadic
#BBB158 #58BBB1 #B158BB
tetradic
#BBB158 #58BB80 #5862BB #BB5894
square
#BBB158 #58BB80 #5862BB #BB5894
split-complementary
#BBB158 #5894BB #8058BB
monochromatic
#6C662C #988F3E #BBB158 #CDC583 #DEDAAF

Accessibility & contrast

On white

2.20
#BBB158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#BBB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB158
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB158#FFFFFF#000000##000000
##BBB1581.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC50
Deuteranopia (green-blind)
#C2B15C
Tritanopia (blue-blind)
#C7A79D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb158;
/* rgb */ color: rgb(187, 177, 88);
/* oklch */ color: oklch(75.0% 0.112 102.9);
Tailwind
colors: {
  custom: {
    50: '#d2c88a',
    500: '#bbb158',
    950: '#000000',
  },
}
SCSS
$custom: #bbb158;
$custom-light: #d2c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb158",
  "rgb": {
    "r": 187,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 53.939,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75025,
    "c": 0.1116,
    "h": 102.9
  },
  "luminance": 0.42714
}

Semantic roles & 50–950 ramp

primary
#BBB158
secondary
#A2A7CD
accent
#62D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BBB158

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

Preview Lab → · Contrast checker → · Palette generator →

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