#BBB942#BBB942

#BBB942 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.5% C 0.139 H 108.3°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#BBB942
RGBrgb(187, 185, 66)
HSLhsl(59, 48%, 50%)
HSVhsv(59, 65%, 73%)
CMYKcmyk(0%, 1.1%, 64.7%, 26.7%)
CIE-LABlab(73.32, -14.02, 58.33)
CIE-LCHlch(73.32, 59.99, 103.51°)
OKLaboklab(76.52% -0.0437 0.1317)
OKLCHoklch(76.52% 0.139 108.3)
XYZxyz(38.8272, 45.6572, 11.9206)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB942 #4244BB
analogous
#BB7C42 #BBB942 #81BB42
triadic
#BBB942 #42BBB9 #B942BB
tetradic
#BBB942 #42BB7C #4244BB #BB4281
square
#BBB942 #42BB7C #4244BB #BB4281
split-complementary
#BBB942 #4281BB #7C42BB
monochromatic
#615F22 #8E8C32 #BBB942 #CCCA6E #DCDB9C

Accessibility & contrast

On white

2.07
#BBB942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#BBB942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB942
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB942#FFFFFF#000000##000000
##BBB9421.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B232
Deuteranopia (green-blind)
#CAB64A
Tritanopia (blue-blind)
#C8AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bbb942;
/* rgb */ color: rgb(187, 185, 66);
/* oklch */ color: oklch(76.5% 0.139 108.3);
Tailwind
colors: {
  custom: {
    50: '#d2cd7c',
    500: '#bbb942',
    950: '#000000',
  },
}
SCSS
$custom: #bbb942;
$custom-light: #d2cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb942",
  "rgb": {
    "r": 187,
    "g": 185,
    "b": 66
  },
  "hsl": {
    "h": 59.008,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76519,
    "c": 0.13879,
    "h": 108.3
  },
  "luminance": 0.45656
}

Semantic roles & 50–950 ramp

primary
#BBB942
secondary
#9192C8
accent
#53D750
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBB942

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

Preview Lab → · Contrast checker → · Palette generator →

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