#BBBF42#BBBF42

#BBBF42 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.8% C 0.145 H 111.1°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#BBBF42
RGBrgb(187, 191, 66)
HSLhsl(62, 49%, 50%)
HSVhsv(62, 65%, 75%)
CMYKcmyk(2.1%, 0%, 65.4%, 25.1%)
CIE-LABlab(74.96, -17.05, 60.03)
CIE-LCHlch(74.96, 62.40, 105.86°)
OKLaboklab(77.83% -0.0522 0.1353)
OKLCHoklch(77.83% 0.145 111.1)
XYZxyz(40.1089, 48.2207, 12.3479)
Luminance0.4822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBF42 #4642BF
analogous
#BF8442 #BBBF42 #7CBF42
triadic
#BBBF42 #42BBBF #BF42BB
tetradic
#BBBF42 #42BF84 #4642BF #BF427C
square
#BBBF42 #42BF84 #4642BF #BF427C
split-complementary
#BBBF42 #427CBF #8442BF
monochromatic
#626522 #8F9232 #BBBF42 #CBCE70 #DCDE9D

Accessibility & contrast

On white

1.97
#BBBF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#BBBF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBF42
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBF42#FFFFFF#000000##000000
##BBBF421.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB731
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#C7B4A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #bbbf42;
/* rgb */ color: rgb(187, 191, 66);
/* oklch */ color: oklch(77.8% 0.145 111.1);
Tailwind
colors: {
  custom: {
    50: '#d2d27d',
    500: '#bbbf42',
    950: '#000000',
  },
}
SCSS
$custom: #bbbf42;
$custom-light: #d2d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbf42",
  "rgb": {
    "r": 187,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 61.92,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7783,
    "c": 0.14506,
    "h": 111.1
  },
  "luminance": 0.4822
}

Semantic roles & 50–950 ramp

primary
#BBBF42
secondary
#9493CA
accent
#4FD953
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BBBF42

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

Preview Lab → · Contrast checker → · Palette generator →

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