#BBB042#BBB042

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

Color values

HEX#BBB042
RGBrgb(187, 176, 66)
HSLhsl(55, 48%, 50%)
HSVhsv(55, 65%, 73%)
CMYKcmyk(0%, 5.9%, 64.7%, 26.7%)
CIE-LABlab(70.88, -9.38, 55.77)
CIE-LCHlch(70.88, 56.55, 99.55°)
OKLaboklab(74.57% -0.0306 0.1263)
OKLCHoklch(74.57% 0.13 103.6)
XYZxyz(37.0036, 42.0102, 11.3128)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB042 #424DBB
analogous
#BB7342 #BBB042 #8ABB42
triadic
#BBB042 #42BBB0 #B042BB
tetradic
#BBB042 #42BB73 #424DBB #BB428A
square
#BBB042 #42BB73 #424DBB #BB428A
split-complementary
#BBB042 #428ABB #7342BB
monochromatic
#615B22 #8E8532 #BBB042 #CCC36E #DCD69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBB042#FFFFFF#000000##000000
##BBB0421.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)
#BFAA34
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#C9A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbb042;
/* rgb */ color: rgb(187, 176, 66);
/* oklch */ color: oklch(74.6% 0.130 103.6);
Tailwind
colors: {
  custom: {
    50: '#d2c77c',
    500: '#bbb042',
    950: '#000000',
  },
}
SCSS
$custom: #bbb042;
$custom-light: #d2c77c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb042",
  "rgb": {
    "r": 187,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 54.545,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74573,
    "c": 0.12998,
    "h": 103.6
  },
  "luminance": 0.42009
}

Semantic roles & 50–950 ramp

primary
#BBB042
secondary
#9196C8
accent
#5DD750
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBB042

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

Preview Lab → · Contrast checker → · Palette generator →

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