#BBB040#BBB040

#BBB040 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.132 H 103.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#BBB040
RGBrgb(187, 176, 64)
HSLhsl(55, 49%, 49%)
HSVhsv(55, 66%, 73%)
CMYKcmyk(0%, 5.9%, 65.8%, 26.7%)
CIE-LABlab(70.86, -9.50, 56.59)
CIE-LCHlch(70.86, 57.38, 99.53°)
OKLaboklab(74.56% -0.0311 0.1278)
OKLCHoklch(74.56% 0.132 103.7)
XYZxyz(36.9457, 41.9870, 11.0077)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB040 #404BBB
analogous
#BB7340 #BBB040 #89BB40
triadic
#BBB040 #40BBB0 #B040BB
tetradic
#BBB040 #40BB73 #404BBB #BB4089
square
#BBB040 #40BB73 #404BBB #BB4089
split-complementary
#BBB040 #4089BB #7340BB
monochromatic
#605A21 #8D8530 #BBB040 #CDC46C #DCD699

Accessibility & contrast

On white

2.23
#BBB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#BBB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB040
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB040#FFFFFF#000000##000000
##BBB0401.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA31
Deuteranopia (green-blind)
#C3B047
Tritanopia (blue-blind)
#C9A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbb040;
/* rgb */ color: rgb(187, 176, 64);
/* oklch */ color: oklch(74.6% 0.132 103.7);
Tailwind
colors: {
  custom: {
    50: '#d3c77b',
    500: '#bbb040',
    950: '#000000',
  },
}
SCSS
$custom: #bbb040;
$custom-light: #d3c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb040",
  "rgb": {
    "r": 187,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 54.634,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74555,
    "c": 0.13151,
    "h": 103.7
  },
  "luminance": 0.41986
}

Semantic roles & 50–950 ramp

primary
#BBB040
secondary
#8F94C8
accent
#5CD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BBB040

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

Preview Lab → · Contrast checker → · Palette generator →

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