#BBB72E#BBB72E

#BBB72E is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.9% C 0.150 H 107.8°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#BBB72E
RGBrgb(187, 183, 46)
HSLhsl(58, 61%, 46%)
HSVhsv(58, 75%, 73%)
CMYKcmyk(0%, 2.1%, 75.4%, 26.7%)
CIE-LABlab(72.65, -14.01, 65.08)
CIE-LCHlch(72.65, 66.57, 102.15°)
OKLaboklab(75.94% -0.0457 0.1426)
OKLCHoklch(75.94% 0.15 107.8)
XYZxyz(37.9216, 44.6303, 9.2012)
Luminance0.4463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB72E #2E32BB
analogous
#BB702E #BBB72E #78BB2E
triadic
#BBB72E #2EBBB7 #B72EBB
tetradic
#BBB72E #2EBB70 #2E32BB #BB2E78
square
#BBB72E #2EBB70 #2E32BB #BB2E78
split-complementary
#BBB72E #2E78BB #702EBB
monochromatic
#595716 #8A8722 #BBB72E #D4D152 #E0DE83

Accessibility & contrast

On white

2.12
#BBB72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#BBB72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB72E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB72E#FFFFFF#000000##000000
##BBB72E1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B00D
Deuteranopia (green-blind)
#C9B439
Tritanopia (blue-blind)
#C9AB9D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bbb72e;
/* rgb */ color: rgb(187, 183, 46);
/* oklch */ color: oklch(75.9% 0.150 107.8);
Tailwind
colors: {
  custom: {
    50: '#d3cc72',
    500: '#bbb72e',
    950: '#000000',
  },
}
SCSS
$custom: #bbb72e;
$custom-light: #d3cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb72e",
  "rgb": {
    "r": 187,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 58.298,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7594,
    "c": 0.14968,
    "h": 107.8
  },
  "luminance": 0.44629
}

Semantic roles & 50–950 ramp

primary
#BBB72E
secondary
#7B7DCA
accent
#49E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBB72E

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

Preview Lab → · Contrast checker → · Palette generator →

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