#BBB348#BBB348

#BBB348 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.3% C 0.128 H 105.0°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#BBB348
RGBrgb(187, 179, 72)
HSLhsl(56, 46%, 51%)
HSVhsv(56, 61%, 73%)
CMYKcmyk(0%, 4.3%, 61.5%, 26.7%)
CIE-LABlab(71.74, -10.55, 54.09)
CIE-LCHlch(71.74, 55.11, 101.03°)
OKLaboklab(75.28% -0.0332 0.1237)
OKLCHoklch(75.28% 0.128 105)
XYZxyz(37.7846, 43.2742, 12.4921)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB348 #4850BB
analogous
#BB7948 #BBB348 #89BB48
triadic
#BBB348 #48BBB3 #B348BB
tetradic
#BBB348 #48BB79 #4850BB #BB4889
square
#BBB348 #48BB79 #4850BB #BB4889
split-complementary
#BBB348 #4889BB #7948BB
monochromatic
#645F25 #908A36 #BBB348 #CCC675 #DCD8A1

Accessibility & contrast

On white

2.18
#BBB348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#BBB348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB348
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB348#FFFFFF#000000##000000
##BBB3481.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3C
Deuteranopia (green-blind)
#C5B24E
Tritanopia (blue-blind)
#C8A89C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bbb348;
/* rgb */ color: rgb(187, 179, 72);
/* oklch */ color: oklch(75.3% 0.128 105.0);
Tailwind
colors: {
  custom: {
    50: '#d2c980',
    500: '#bbb348',
    950: '#000000',
  },
}
SCSS
$custom: #bbb348;
$custom-light: #d2c980;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb348",
  "rgb": {
    "r": 187,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 55.826,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75275,
    "c": 0.12806,
    "h": 105
  },
  "luminance": 0.43273
}

Semantic roles & 50–950 ramp

primary
#BBB348
secondary
#9699C9
accent
#5BD552
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBB348

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

Preview Lab → · Contrast checker → · Palette generator →

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