#BBB12E#BBB12E

#BBB12E is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.6% C 0.144 H 104.9°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#BBB12E
RGBrgb(187, 177, 46)
HSLhsl(56, 61%, 46%)
HSVhsv(56, 75%, 73%)
CMYKcmyk(0%, 5.3%, 75.4%, 26.7%)
CIE-LABlab(71.01, -10.93, 63.56)
CIE-LCHlch(71.01, 64.49, 99.76°)
OKLaboklab(74.64% -0.037 0.1393)
OKLCHoklch(74.64% 0.144 104.9)
XYZxyz(36.7104, 42.2078, 8.7974)
Luminance0.4221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB12E #2E38BB
analogous
#BB6B2E #BBB12E #7EBB2E
triadic
#BBB12E #2EBBB1 #B12EBB
tetradic
#BBB12E #2EBB6B #2E38BB #BB2E7E
square
#BBB12E #2EBB6B #2E38BB #BB2E7E
split-complementary
#BBB12E #2E7EBB #6B2EBB
monochromatic
#595416 #8A8322 #BBB12E #D4CB52 #E0DA83

Accessibility & contrast

On white

2.22
#BBB12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#BBB12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB12E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB12E#FFFFFF#000000##000000
##BBB12E1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB11
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#C9A598
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bbb12e;
/* rgb */ color: rgb(187, 177, 46);
/* oklch */ color: oklch(74.6% 0.144 104.9);
Tailwind
colors: {
  custom: {
    50: '#d3c871',
    500: '#bbb12e',
    950: '#000000',
  },
}
SCSS
$custom: #bbb12e;
$custom-light: #d3c871;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb12e",
  "rgb": {
    "r": 187,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 55.745,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74638,
    "c": 0.14416,
    "h": 104.9
  },
  "luminance": 0.42206
}

Semantic roles & 50–950 ramp

primary
#BBB12E
secondary
#7B81CA
accent
#4FE444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBB12E

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

Preview Lab → · Contrast checker → · Palette generator →

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