#BBB52E#BBB52E

#BBB52E is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.5% C 0.148 H 106.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#BBB52E
RGBrgb(187, 181, 46)
HSLhsl(57, 61%, 46%)
HSVhsv(57, 75%, 73%)
CMYKcmyk(0%, 3.2%, 75.4%, 26.7%)
CIE-LABlab(72.10, -12.99, 64.57)
CIE-LCHlch(72.10, 65.86, 101.38°)
OKLaboklab(75.51% -0.0428 0.1415)
OKLCHoklch(75.51% 0.148 106.8)
XYZxyz(37.5121, 43.8111, 9.0647)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB52E #2E34BB
analogous
#BB6E2E #BBB52E #7ABB2E
triadic
#BBB52E #2EBBB5 #B52EBB
tetradic
#BBB52E #2EBB6E #2E34BB #BB2E7A
square
#BBB52E #2EBB6E #2E34BB #BB2E7A
split-complementary
#BBB52E #2E7ABB #6E2EBB
monochromatic
#595616 #8A8522 #BBB52E #D4CF52 #E0DC83

Accessibility & contrast

On white

2.15
#BBB52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#BBB52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB52E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB52E#FFFFFF#000000##000000
##BBB52E1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#C9A99C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bbb52e;
/* rgb */ color: rgb(187, 181, 46);
/* oklch */ color: oklch(75.5% 0.148 106.8);
Tailwind
colors: {
  custom: {
    50: '#d3ca72',
    500: '#bbb52e',
    950: '#000000',
  },
}
SCSS
$custom: #bbb52e;
$custom-light: #d3ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb52e",
  "rgb": {
    "r": 187,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 57.447,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75505,
    "c": 0.1478,
    "h": 106.8
  },
  "luminance": 0.4381
}

Semantic roles & 50–950 ramp

primary
#BBB52E
secondary
#7B7FCA
accent
#4BE444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBB52E

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

Preview Lab → · Contrast checker → · Palette generator →

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