#BBBB52#BBBB52

#BBBB52 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.1% C 0.128 H 109.1°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#BBBB52
RGBrgb(187, 187, 82)
HSLhsl(60, 44%, 53%)
HSVhsv(60, 56%, 73%)
CMYKcmyk(0%, 0%, 56.1%, 26.7%)
CIE-LABlab(74.01, -13.93, 52.12)
CIE-LCHlch(74.01, 53.95, 104.97°)
OKLaboklab(77.11% -0.0417 0.1208)
OKLCHoklch(77.11% 0.128 109.1)
XYZxyz(39.7879, 46.7157, 14.9021)
Luminance0.4672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB52 #5252BB
analogous
#BB8652 #BBBB52 #86BB52
triadic
#BBBB52 #52BBBB #BB52BB
tetradic
#BBBB52 #52BB86 #5252BB #BB5286
square
#BBBB52 #52BB86 #5252BB #BB5286
split-complementary
#BBBB52 #5286BB #8652BB
monochromatic
#696929 #95953B #BBBB52 #CCCC7E #DEDEAA

Accessibility & contrast

On white

2.03
#BBBB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#BBBB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBB52
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBB52#FFFFFF#000000##000000
##BBBB521.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B447
Deuteranopia (green-blind)
#CAB858
Tritanopia (blue-blind)
#C7B0A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bbbb52;
/* rgb */ color: rgb(187, 187, 82);
/* oklch */ color: oklch(77.1% 0.128 109.1);
Tailwind
colors: {
  custom: {
    50: '#d2cf86',
    500: '#bbbb52',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb52;
$custom-light: #d2cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb52",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7711,
    "c": 0.12776,
    "h": 109.1
  },
  "luminance": 0.46715
}

Semantic roles & 50–950 ramp

primary
#BBBB52
secondary
#9E9ECB
accent
#54D354
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBBB52

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

Preview Lab → · Contrast checker → · Palette generator →

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