#BBBC42#BBBC42

#BBBC42 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.2% C 0.142 H 109.8°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#BBBC42
RGBrgb(187, 188, 66)
HSLhsl(60, 48%, 50%)
HSVhsv(60, 65%, 74%)
CMYKcmyk(0.5%, 0%, 64.9%, 26.3%)
CIE-LABlab(74.14, -15.54, 59.18)
CIE-LCHlch(74.14, 61.18, 104.71°)
OKLaboklab(77.17% -0.048 0.1335)
OKLCHoklch(77.17% 0.142 109.8)
XYZxyz(39.4614, 46.9257, 12.1321)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBC42 #4342BC
analogous
#BC8042 #BBBC42 #7EBC42
triadic
#BBBC42 #42BBBC #BC42BB
tetradic
#BBBC42 #42BC80 #4342BC #BC427E
square
#BBBC42 #42BC80 #4342BC #BC427E
split-complementary
#BBBC42 #427EBC #8042BC
monochromatic
#616122 #8E8F32 #BBBC42 #CCCC6F #DCDC9C

Accessibility & contrast

On white

2.02
#BBBC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#BBBC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBC42
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBC42#FFFFFF#000000##000000
##BBBC421.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB431
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#C8B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bbbc42;
/* rgb */ color: rgb(187, 188, 66);
/* oklch */ color: oklch(77.2% 0.142 109.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf7d',
    500: '#bbbc42',
    950: '#000000',
  },
}
SCSS
$custom: #bbbc42;
$custom-light: #d2cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbc42",
  "rgb": {
    "r": 187,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 60.492,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77173,
    "c": 0.1419,
    "h": 109.8
  },
  "luminance": 0.46925
}

Semantic roles & 50–950 ramp

primary
#BBBC42
secondary
#9291C9
accent
#50D851
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBBC42

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

Preview Lab → · Contrast checker → · Palette generator →

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