#BBBB38#BBBB38

#BBBB38 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.9% C 0.148 H 109.4°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#BBBB38
RGBrgb(187, 187, 56)
HSLhsl(60, 54%, 48%)
HSVhsv(60, 70%, 73%)
CMYKcmyk(0%, 0%, 70.1%, 26.7%)
CIE-LABlab(73.80, -15.59, 62.70)
CIE-LCHlch(73.80, 64.61, 103.96°)
OKLaboklab(76.88% -0.0491 0.1393)
OKLCHoklch(76.88% 0.148 109.4)
XYZxyz(38.9790, 46.3921, 10.6419)
Luminance0.4639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB38 #3838BB
analogous
#BB7938 #BBBB38 #79BB38
triadic
#BBBB38 #38BBBB #BB38BB
tetradic
#BBBB38 #38BB79 #3838BB #BB3879
square
#BBBB38 #38BB79 #3838BB #BB3879
split-complementary
#BBBB38 #3879BB #7938BB
monochromatic
#5D5D1C #8C8C2A #BBBB38 #D0D061 #DEDE90

Accessibility & contrast

On white

2.04
#BBBB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#BBBB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBB38
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBB38#FFFFFF#000000##000000
##BBBB381.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbbb38;
/* rgb */ color: rgb(187, 187, 56);
/* oklch */ color: oklch(76.9% 0.148 109.4);
Tailwind
colors: {
  custom: {
    50: '#d3cf77',
    500: '#bbbb38',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb38;
$custom-light: #d3cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb38",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76878,
    "c": 0.14773,
    "h": 109.4
  },
  "luminance": 0.46391
}

Semantic roles & 50–950 ramp

primary
#BBBB38
secondary
#8686C8
accent
#4BDD4B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BBBB38

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

Preview Lab → · Contrast checker → · Palette generator →

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