#BBB542#BBB542

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

Color values

HEX#BBB542
RGBrgb(187, 181, 66)
HSLhsl(57, 48%, 50%)
HSVhsv(57, 65%, 73%)
CMYKcmyk(0%, 3.2%, 64.7%, 26.7%)
CIE-LABlab(72.23, -11.97, 57.19)
CIE-LCHlch(72.23, 58.43, 101.82°)
OKLaboklab(75.65% -0.0379 0.1293)
OKLCHoklch(75.65% 0.135 106.3)
XYZxyz(38.0021, 44.0072, 11.6456)
Luminance0.4401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB542 #4248BB
analogous
#BB7942 #BBB542 #84BB42
triadic
#BBB542 #42BBB5 #B542BB
tetradic
#BBB542 #42BB79 #4248BB #BB4284
square
#BBB542 #42BB79 #4248BB #BB4284
split-complementary
#BBB542 #4284BB #7942BB
monochromatic
#615D22 #8E8932 #BBB542 #CCC76E #DCD99C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBB542#FFFFFF#000000##000000
##BBB5421.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)
#C4AE33
Deuteranopia (green-blind)
#C6B349
Tritanopia (blue-blind)
#C8A99D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bbb542;
/* rgb */ color: rgb(187, 181, 66);
/* oklch */ color: oklch(75.7% 0.135 106.3);
Tailwind
colors: {
  custom: {
    50: '#d2ca7c',
    500: '#bbb542',
    950: '#000000',
  },
}
SCSS
$custom: #bbb542;
$custom-light: #d2ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb542",
  "rgb": {
    "r": 187,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 57.025,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75651,
    "c": 0.13478,
    "h": 106.3
  },
  "luminance": 0.44006
}

Semantic roles & 50–950 ramp

primary
#BBB542
secondary
#9193C8
accent
#57D750
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBB542

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

Preview Lab → · Contrast checker → · Palette generator →

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