#BBB248#BBB248

#BBB248 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.1% C 0.127 H 104.5°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#BBB248
RGBrgb(187, 178, 72)
HSLhsl(55, 46%, 51%)
HSVhsv(55, 61%, 73%)
CMYKcmyk(0%, 4.8%, 61.5%, 26.7%)
CIE-LABlab(71.47, -10.03, 53.80)
CIE-LCHlch(71.47, 54.73, 100.56°)
OKLaboklab(75.06% -0.0317 0.1231)
OKLCHoklch(75.06% 0.127 104.5)
XYZxyz(37.5849, 42.8748, 12.4255)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB248 #4851BB
analogous
#BB7848 #BBB248 #8ABB48
triadic
#BBB248 #48BBB2 #B248BB
tetradic
#BBB248 #48BB78 #4851BB #BB488A
square
#BBB248 #48BB78 #4851BB #BB488A
split-complementary
#BBB248 #488ABB #7848BB
monochromatic
#645F25 #908936 #BBB248 #CCC575 #DCD8A1

Accessibility & contrast

On white

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

On black

9.57
#BBB248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB248
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB248#FFFFFF#000000##000000
##BBB2481.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC3C
Deuteranopia (green-blind)
#C4B14E
Tritanopia (blue-blind)
#C8A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb248;
/* rgb */ color: rgb(187, 178, 72);
/* oklch */ color: oklch(75.1% 0.127 104.5);
Tailwind
colors: {
  custom: {
    50: '#d2c87f',
    500: '#bbb248',
    950: '#000000',
  },
}
SCSS
$custom: #bbb248;
$custom-light: #d2c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb248",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 55.304,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7506,
    "c": 0.12708,
    "h": 104.5
  },
  "luminance": 0.42873
}

Semantic roles & 50–950 ramp

primary
#BBB248
secondary
#969AC9
accent
#5DD552
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBB248

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

Preview Lab → · Contrast checker → · Palette generator →

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