#BBBA42#BBBA42

#BBBA42 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.7% C 0.140 H 108.8°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#BBBA42
RGBrgb(187, 186, 66)
HSLhsl(60, 48%, 50%)
HSVhsv(60, 65%, 73%)
CMYKcmyk(0%, 0.5%, 64.7%, 26.7%)
CIE-LABlab(73.60, -14.52, 58.61)
CIE-LCHlch(73.60, 60.38, 103.92°)
OKLaboklab(76.74% -0.0451 0.1323)
OKLCHoklch(76.74% 0.14 108.8)
XYZxyz(39.0371, 46.0771, 11.9906)
Luminance0.4608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBA42 #4243BB
analogous
#BB7E42 #BBBA42 #80BB42
triadic
#BBBA42 #42BBBA #BA42BB
tetradic
#BBBA42 #42BB7E #4243BB #BB4280
square
#BBBA42 #42BB7E #4243BB #BB4280
split-complementary
#BBBA42 #4280BB #7E42BB
monochromatic
#616022 #8E8D32 #BBBA42 #CCCB6E #DCDB9C

Accessibility & contrast

On white

2.06
#BBBA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#BBBA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBA42
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBA42#FFFFFF#000000##000000
##BBBA421.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B332
Deuteranopia (green-blind)
#CAB74A
Tritanopia (blue-blind)
#C8AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bbba42;
/* rgb */ color: rgb(187, 186, 66);
/* oklch */ color: oklch(76.7% 0.140 108.8);
Tailwind
colors: {
  custom: {
    50: '#d2ce7d',
    500: '#bbba42',
    950: '#000000',
  },
}
SCSS
$custom: #bbba42;
$custom-light: #d2ce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbba42",
  "rgb": {
    "r": 187,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 59.504,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76737,
    "c": 0.13982,
    "h": 108.8
  },
  "luminance": 0.46076
}

Semantic roles & 50–950 ramp

primary
#BBBA42
secondary
#9191C8
accent
#51D750
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBBA42

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

Preview Lab → · Contrast checker → · Palette generator →

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