#BBB540#BBB540

#BBB540 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.6% C 0.136 H 106.4°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#BBB540
RGBrgb(187, 181, 64)
HSLhsl(57, 49%, 49%)
HSVhsv(57, 66%, 73%)
CMYKcmyk(0%, 3.2%, 65.8%, 26.7%)
CIE-LABlab(72.22, -12.09, 58.00)
CIE-LCHlch(72.22, 59.25, 101.77°)
OKLaboklab(75.63% -0.0384 0.1307)
OKLCHoklch(75.63% 0.136 106.4)
XYZxyz(37.9442, 43.9840, 11.3405)
Luminance0.4398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB540 #4046BB
analogous
#BB7840 #BBB540 #84BB40
triadic
#BBB540 #40BBB5 #B540BB
tetradic
#BBB540 #40BB78 #4046BB #BB4084
square
#BBB540 #40BB78 #4046BB #BB4084
split-complementary
#BBB540 #4084BB #7840BB
monochromatic
#605D21 #8D8930 #BBB540 #CDC86C #DCD999

Accessibility & contrast

On white

2.14
#BBB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#BBB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB540
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB540#FFFFFF#000000##000000
##BBB5401.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE30
Deuteranopia (green-blind)
#C7B347
Tritanopia (blue-blind)
#C8A99D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bbb540;
/* rgb */ color: rgb(187, 181, 64);
/* oklch */ color: oklch(75.6% 0.136 106.4);
Tailwind
colors: {
  custom: {
    50: '#d3ca7b',
    500: '#bbb540',
    950: '#000000',
  },
}
SCSS
$custom: #bbb540;
$custom-light: #d3ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb540",
  "rgb": {
    "r": 187,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 57.073,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75634,
    "c": 0.13628,
    "h": 106.4
  },
  "luminance": 0.43983
}

Semantic roles & 50–950 ramp

primary
#BBB540
secondary
#8F92C8
accent
#56D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BBB540

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

Preview Lab → · Contrast checker → · Palette generator →

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