#B3BB42#B3BB42

#B3BB42 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.143 H 112.9°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#B3BB42
RGBrgb(179, 187, 66)
HSLhsl(64, 48%, 50%)
HSVhsv(64, 65%, 73%)
CMYKcmyk(4.3%, 0%, 64.7%, 26.7%)
CIE-LABlab(73.23, -18.41, 58.03)
CIE-LCHlch(73.23, 60.88, 107.60°)
OKLaboklab(76.29% -0.0556 0.1313)
OKLCHoklch(76.29% 0.143 112.9)
XYZxyz(37.3451, 45.5185, 11.9719)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BB42 #4A42BB
analogous
#BB8742 #B3BB42 #77BB42
triadic
#B3BB42 #42B3BB #BB42B3
tetradic
#B3BB42 #42BB87 #4A42BB #BB4277
square
#B3BB42 #42BB87 #4A42BB #BB4277
split-complementary
#B3BB42 #4277BB #8742BB
monochromatic
#5C6122 #888E32 #B3BB42 #C6CC6E #D8DC9C

Accessibility & contrast

On white

2.08
#B3BB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#B3BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BB42
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BB42#FFFFFF#000000##000000
##B3BB421.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3bb42;
/* rgb */ color: rgb(179, 187, 66);
/* oklch */ color: oklch(76.3% 0.143 112.9);
Tailwind
colors: {
  custom: {
    50: '#cdcf7d',
    500: '#b3bb42',
    950: '#000000',
  },
}
SCSS
$custom: #b3bb42;
$custom-light: #cdcf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3bb42",
  "rgb": {
    "r": 179,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 63.967,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7629,
    "c": 0.14261,
    "h": 112.9
  },
  "luminance": 0.45518
}

Semantic roles & 50–950 ramp

primary
#B3BB42
secondary
#9491C8
accent
#50D759
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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