#BBB142#BBB142

#BBB142 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.8% C 0.131 H 104.2°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#BBB142
RGBrgb(187, 177, 66)
HSLhsl(55, 48%, 50%)
HSVhsv(55, 65%, 73%)
CMYKcmyk(0%, 5.3%, 64.7%, 26.7%)
CIE-LABlab(71.15, -9.90, 56.05)
CIE-LCHlch(71.15, 56.92, 100.02°)
OKLaboklab(74.79% -0.032 0.1269)
OKLCHoklch(74.79% 0.131 104.2)
XYZxyz(37.2004, 42.4038, 11.3784)
Luminance0.4240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB142 #424CBB
analogous
#BB7442 #BBB142 #89BB42
triadic
#BBB142 #42BBB1 #B142BB
tetradic
#BBB142 #42BB74 #424CBB #BB4289
square
#BBB142 #42BB74 #424CBB #BB4289
split-complementary
#BBB142 #4289BB #7442BB
monochromatic
#615B22 #8E8632 #BBB142 #CCC46E #DCD79C

Accessibility & contrast

On white

2.22
#BBB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#BBB142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB142
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB142#FFFFFF#000000##000000
##BBB1421.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#C3B149
Tritanopia (blue-blind)
#C8A59A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bbb142;
/* rgb */ color: rgb(187, 177, 66);
/* oklch */ color: oklch(74.8% 0.131 104.2);
Tailwind
colors: {
  custom: {
    50: '#d2c87c',
    500: '#bbb142',
    950: '#000000',
  },
}
SCSS
$custom: #bbb142;
$custom-light: #d2c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb142",
  "rgb": {
    "r": 187,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 55.041,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74788,
    "c": 0.13092,
    "h": 104.2
  },
  "luminance": 0.42402
}

Semantic roles & 50–950 ramp

primary
#BBB142
secondary
#9195C8
accent
#5CD750
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBB142

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

Preview Lab → · Contrast checker → · Palette generator →

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