#BBBC38#BBBC38

#BBBC38 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.1% C 0.149 H 109.9°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#BBBC38
RGBrgb(187, 188, 56)
HSLhsl(60, 54%, 48%)
HSVhsv(60, 70%, 74%)
CMYKcmyk(0.5%, 0%, 70.2%, 26.3%)
CIE-LABlab(74.07, -16.09, 62.97)
CIE-LCHlch(74.07, 64.99, 104.34°)
OKLaboklab(77.1% -0.0505 0.1399)
OKLCHoklch(77.1% 0.149 109.9)
XYZxyz(39.1919, 46.8179, 10.7129)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBC38 #3938BC
analogous
#BC7B38 #BBBC38 #79BC38
triadic
#BBBC38 #38BBBC #BC38BB
tetradic
#BBBC38 #38BC7B #3938BC #BC3879
square
#BBBC38 #38BC7B #3938BC #BC3879
split-complementary
#BBBC38 #3879BC #7B38BC
monochromatic
#5D5E1C #8C8D2A #BBBC38 #CFD061 #DDDE90

Accessibility & contrast

On white

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

On black

10.36
#BBBC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBC38
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBC38#FFFFFF#000000##000000
##BBBC381.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#C8B0A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bbbc38;
/* rgb */ color: rgb(187, 188, 56);
/* oklch */ color: oklch(77.1% 0.149 109.9);
Tailwind
colors: {
  custom: {
    50: '#d3cf77',
    500: '#bbbc38',
    950: '#000000',
  },
}
SCSS
$custom: #bbbc38;
$custom-light: #d3cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbc38",
  "rgb": {
    "r": 187,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 60.455,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.77096,
    "c": 0.14873,
    "h": 109.9
  },
  "luminance": 0.46817
}

Semantic roles & 50–950 ramp

primary
#BBBC38
secondary
#8787C9
accent
#4ADD4B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BBBC38

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

Preview Lab → · Contrast checker → · Palette generator →

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