#B6BB42#B6BB42

#B6BB42 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.142 H 111.6°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#B6BB42
RGBrgb(182, 187, 66)
HSLhsl(62, 48%, 50%)
HSVhsv(62, 65%, 73%)
CMYKcmyk(2.7%, 0%, 64.7%, 26.7%)
CIE-LABlab(73.47, -17.14, 58.35)
CIE-LCHlch(73.47, 60.82, 106.37°)
OKLaboklab(76.54% -0.0522 0.1319)
OKLCHoklch(76.54% 0.142 111.6)
XYZxyz(38.0462, 45.8800, 12.0047)
Luminance0.4588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6BB42 #4742BB
analogous
#BB8342 #B6BB42 #7ABB42
triadic
#B6BB42 #42B6BB #BB42B6
tetradic
#B6BB42 #42BB83 #4742BB #BB427A
square
#B6BB42 #42BB83 #4742BB #BB427A
split-complementary
#B6BB42 #427ABB #8342BB
monochromatic
#5E6122 #8A8E32 #B6BB42 #C8CC6E #D9DC9C

Accessibility & contrast

On white

2.06
#B6BB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#B6BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6BB42
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6BB42#FFFFFF#000000##000000
##B6BB421.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B332
Deuteranopia (green-blind)
#C9B64A
Tritanopia (blue-blind)
#C2B0A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b6bb42;
/* rgb */ color: rgb(182, 187, 66);
/* oklch */ color: oklch(76.5% 0.142 111.6);
Tailwind
colors: {
  custom: {
    50: '#cfcf7d',
    500: '#b6bb42',
    950: '#000000',
  },
}
SCSS
$custom: #b6bb42;
$custom-light: #cfcf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6bb42",
  "rgb": {
    "r": 182,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 62.479,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76537,
    "c": 0.14188,
    "h": 111.6
  },
  "luminance": 0.45879
}

Semantic roles & 50–950 ramp

primary
#B6BB42
secondary
#9391C8
accent
#50D756
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B6BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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