#BBB152#BBB152

#BBB152 is a light, moderate yellow. Relative luminance 0.426; OKLCH L 75.0% C 0.117 H 103.3°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#BBB152
RGBrgb(187, 177, 82)
HSLhsl(54, 44%, 53%)
HSVhsv(54, 56%, 73%)
CMYKcmyk(0%, 5.3%, 56.1%, 26.7%)
CIE-LABlab(71.30, -8.78, 49.04)
CIE-LCHlch(71.30, 49.82, 100.15°)
OKLaboklab(74.95% -0.027 0.1142)
OKLCHoklch(74.95% 0.117 103.3)
XYZxyz(37.7399, 42.6196, 14.2194)
Luminance0.4262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB152 #525CBB
analogous
#BB7D52 #BBB152 #90BB52
triadic
#BBB152 #52BBB1 #B152BB
tetradic
#BBB152 #52BB7D #525CBB #BB5290
square
#BBB152 #52BB7D #525CBB #BB5290
split-complementary
#BBB152 #5290BB #7D52BB
monochromatic
#696329 #958D3B #BBB152 #CCC57E #DED9AA

Accessibility & contrast

On white

2.21
#BBB152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#BBB152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB152
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB152#FFFFFF#000000##000000
##BBB1521.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC48
Deuteranopia (green-blind)
#C2B157
Tritanopia (blue-blind)
#C8A69C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb152;
/* rgb */ color: rgb(187, 177, 82);
/* oklch */ color: oklch(75.0% 0.117 103.3);
Tailwind
colors: {
  custom: {
    50: '#d2c886',
    500: '#bbb152',
    950: '#000000',
  },
}
SCSS
$custom: #bbb152;
$custom-light: #d2c886;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb152",
  "rgb": {
    "r": 187,
    "g": 177,
    "b": 82
  },
  "hsl": {
    "h": 54.286,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74952,
    "c": 0.11732,
    "h": 103.3
  },
  "luminance": 0.42618
}

Semantic roles & 50–950 ramp

primary
#BBB152
secondary
#9EA2CB
accent
#61D354
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBB152

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

Preview Lab → · Contrast checker → · Palette generator →

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