#BBB33F#BBB33F

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

Color values

HEX#BBB33F
RGBrgb(187, 179, 63)
HSLhsl(56, 50%, 49%)
HSVhsv(56, 66%, 73%)
CMYKcmyk(0%, 4.3%, 66.3%, 26.7%)
CIE-LABlab(71.67, -11.12, 57.84)
CIE-LCHlch(71.67, 58.90, 100.88°)
OKLaboklab(75.19% -0.0358 0.1302)
OKLCHoklch(75.19% 0.135 105.4)
XYZxyz(37.5122, 43.1652, 11.0574)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB33F #3F47BB
analogous
#BB753F #BBB33F #85BB3F
triadic
#BBB33F #3FBBB3 #B33FBB
tetradic
#BBB33F #3FBB75 #3F47BB #BB3F85
square
#BBB33F #3FBB75 #3F47BB #BB3F85
split-complementary
#BBB33F #3F85BB #753FBB
monochromatic
#5F5B20 #8D8730 #BBB33F #CDC76A #DCD898

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBB33F#FFFFFF#000000##000000
##BBB33F1.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)
#C2AD2F
Deuteranopia (green-blind)
#C5B246
Tritanopia (blue-blind)
#C8A79B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bbb33f;
/* rgb */ color: rgb(187, 179, 63);
/* oklch */ color: oklch(75.2% 0.135 105.4);
Tailwind
colors: {
  custom: {
    50: '#d3c97a',
    500: '#bbb33f',
    950: '#000000',
  },
}
SCSS
$custom: #bbb33f;
$custom-light: #d3c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb33f",
  "rgb": {
    "r": 187,
    "g": 179,
    "b": 63
  },
  "hsl": {
    "h": 56.129,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75193,
    "c": 0.13507,
    "h": 105.4
  },
  "luminance": 0.43164
}

Semantic roles & 50–950 ramp

primary
#BBB33F
secondary
#8E91C8
accent
#58D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BBB33F

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

Preview Lab → · Contrast checker → · Palette generator →

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