#BBBB27#BBBB27

#BBBB27 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.8% C 0.157 H 109.6°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#BBBB27
RGBrgb(187, 187, 39)
HSLhsl(60, 65%, 44%)
HSVhsv(60, 79%, 73%)
CMYKcmyk(0%, 0%, 79.1%, 26.7%)
CIE-LABlab(73.71, -16.31, 68.16)
CIE-LCHlch(73.71, 70.09, 103.45°)
OKLaboklab(76.78% -0.0526 0.1479)
OKLCHoklch(76.78% 0.157 109.6)
XYZxyz(38.6315, 46.2531, 8.8118)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB27 #2727BB
analogous
#BB7127 #BBBB27 #71BB27
triadic
#BBBB27 #27BBBB #BB27BB
tetradic
#BBBB27 #27BB71 #2727BB #BB2771
square
#BBBB27 #27BB71 #2727BB #BB2771
split-complementary
#BBBB27 #2771BB #7127BB
monochromatic
#565612 #88881C #BBBB27 #D9D947 #E3E379

Accessibility & contrast

On white

2.05
#BBBB27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#BBBB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBB27
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBB27#FFFFFF#000000##000000
##BBBB271.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CCB735
Tritanopia (blue-blind)
#C9AFA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bbbb27;
/* rgb */ color: rgb(187, 187, 39);
/* oklch */ color: oklch(76.8% 0.157 109.6);
Tailwind
colors: {
  custom: {
    50: '#d3cf6f',
    500: '#bbbb27',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb27;
$custom-light: #d3cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb27",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.76777,
    "c": 0.15694,
    "h": 109.6
  },
  "luminance": 0.46252
}

Semantic roles & 50–950 ramp

primary
#BBBB27
secondary
#7373CB
accent
#3FE83F
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBBB27

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

Preview Lab → · Contrast checker → · Palette generator →

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