#BBB33C#BBB33C

#BBB33C is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.2% C 0.137 H 105.5°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#BBB33C
RGBrgb(187, 179, 60)
HSLhsl(56, 51%, 48%)
HSVhsv(56, 68%, 73%)
CMYKcmyk(0%, 4.3%, 67.9%, 26.7%)
CIE-LABlab(71.64, -11.29, 59.03)
CIE-LCHlch(71.64, 60.10, 100.82°)
OKLaboklab(75.17% -0.0366 0.1323)
OKLCHoklch(75.17% 0.137 105.5)
XYZxyz(37.4307, 43.1326, 10.6278)
Luminance0.4313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB33C #3C44BB
analogous
#BB733C #BBB33C #83BB3C
triadic
#BBB33C #3CBBB3 #B33CBB
tetradic
#BBB33C #3CBB73 #3C44BB #BB3C83
square
#BBB33C #3CBB73 #3C44BB #BB3C83
split-complementary
#BBB33C #3C83BB #733CBB
monochromatic
#5E5A1E #8D872D #BBB33C #CEC766 #DDD895

Accessibility & contrast

On white

2.18
#BBB33C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#BBB33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB33C
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB33C#FFFFFF#000000##000000
##BBB33C1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2B
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#C9A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb33c;
/* rgb */ color: rgb(187, 179, 60);
/* oklch */ color: oklch(75.2% 0.137 105.5);
Tailwind
colors: {
  custom: {
    50: '#d3c979',
    500: '#bbb33c',
    950: '#000000',
  },
}
SCSS
$custom: #bbb33c;
$custom-light: #d3c979;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb33c",
  "rgb": {
    "r": 187,
    "g": 179,
    "b": 60
  },
  "hsl": {
    "h": 56.22,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75168,
    "c": 0.13723,
    "h": 105.5
  },
  "luminance": 0.43131
}

Semantic roles & 50–950 ramp

primary
#BBB33C
secondary
#8B8EC8
accent
#56DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BBB33C

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

Preview Lab → · Contrast checker → · Palette generator →

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