#BBB32E#BBB32E

#BBB32E is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.1% C 0.146 H 105.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#BBB32E
RGBrgb(187, 179, 46)
HSLhsl(57, 61%, 46%)
HSVhsv(57, 75%, 73%)
CMYKcmyk(0%, 4.3%, 75.4%, 26.7%)
CIE-LABlab(71.56, -11.96, 64.07)
CIE-LCHlch(71.56, 65.17, 100.58°)
OKLaboklab(75.07% -0.0399 0.1404)
OKLCHoklch(75.07% 0.146 105.9)
XYZxyz(37.1083, 43.0037, 8.9301)
Luminance0.4300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB32E #2E36BB
analogous
#BB6C2E #BBB32E #7CBB2E
triadic
#BBB32E #2EBBB3 #B32EBB
tetradic
#BBB32E #2EBB6C #2E36BB #BB2E7C
square
#BBB32E #2EBB6C #2E36BB #BB2E7C
split-complementary
#BBB32E #2E7CBB #6C2EBB
monochromatic
#595516 #8A8422 #BBB32E #D4CD52 #E0DB83

Accessibility & contrast

On white

2.19
#BBB32E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#BBB32E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB32E
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB32E#FFFFFF#000000##000000
##BBB32E1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC10
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#C9A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb32e;
/* rgb */ color: rgb(187, 179, 46);
/* oklch */ color: oklch(75.1% 0.146 105.9);
Tailwind
colors: {
  custom: {
    50: '#d3c971',
    500: '#bbb32e',
    950: '#000000',
  },
}
SCSS
$custom: #bbb32e;
$custom-light: #d3c971;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb32e",
  "rgb": {
    "r": 187,
    "g": 179,
    "b": 46
  },
  "hsl": {
    "h": 56.596,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75071,
    "c": 0.14596,
    "h": 105.9
  },
  "luminance": 0.43002
}

Semantic roles & 50–950 ramp

primary
#BBB32E
secondary
#7B80CA
accent
#4DE444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBB32E

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

Preview Lab → · Contrast checker → · Palette generator →

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