#BBC948#BBC948

#BBC948 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.1% C 0.152 H 115.2°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#BBC948
RGBrgb(187, 201, 72)
HSLhsl(67, 54%, 54%)
HSVhsv(67, 64%, 79%)
CMYKcmyk(7%, 0%, 64.2%, 21.2%)
CIE-LABlab(77.76, -21.64, 60.52)
CIE-LCHlch(77.76, 64.27, 109.68°)
OKLaboklab(80.08% -0.0645 0.1373)
OKLCHoklch(80.08% 0.152 115.2)
XYZxyz(42.5509, 52.8066, 14.0808)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC948 #5648C9
analogous
#C99648 #BBC948 #7AC948
triadic
#BBC948 #48BBC9 #C948BB
tetradic
#BBC948 #48C996 #5648C9 #C9487A
square
#BBC948 #48C996 #5648C9 #C9487A
split-complementary
#BBC948 #487AC9 #9648C9
monochromatic
#6B7422 #97A430 #BBC948 #CDD777 #DEE5A7

Accessibility & contrast

On white

1.82
#BBC948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#BBC948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC948
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC948#FFFFFF#000000##000000
##BBC9481.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF37
Deuteranopia (green-blind)
#D6C151
Tritanopia (blue-blind)
#C6BEAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bbc948;
/* rgb */ color: rgb(187, 201, 72);
/* oklch */ color: oklch(80.1% 0.152 115.2);
Tailwind
colors: {
  custom: {
    50: '#d2d981',
    500: '#bbc948',
    950: '#000000',
  },
}
SCSS
$custom: #bbc948;
$custom-light: #d2d981;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc948",
  "rgb": {
    "r": 187,
    "g": 201,
    "b": 72
  },
  "hsl": {
    "h": 66.512,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80083,
    "c": 0.15166,
    "h": 115.2
  },
  "luminance": 0.52806
}

Semantic roles & 50–950 ramp

primary
#BBC948
secondary
#40387D
accent
#4ADE5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BBC948

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

Preview Lab → · Contrast checker → · Palette generator →

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