#B4BB42#B4BB42

#B4BB42 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.142 H 112.5°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B4BB42
RGBrgb(180, 187, 66)
HSLhsl(63, 48%, 50%)
HSVhsv(63, 65%, 73%)
CMYKcmyk(3.7%, 0%, 64.7%, 26.7%)
CIE-LABlab(73.31, -17.99, 58.14)
CIE-LCHlch(73.31, 60.86, 107.19°)
OKLaboklab(76.37% -0.0544 0.1315)
OKLCHoklch(76.37% 0.142 112.5)
XYZxyz(37.5771, 45.6381, 11.9827)
Luminance0.4564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB42 #4942BB
analogous
#BB8642 #B4BB42 #78BB42
triadic
#B4BB42 #42B4BB #BB42B4
tetradic
#B4BB42 #42BB86 #4942BB #BB4278
square
#B4BB42 #42BB86 #4942BB #BB4278
split-complementary
#B4BB42 #4278BB #8642BB
monochromatic
#5D6122 #888E32 #B4BB42 #C7CC6E #D8DC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BB42#FFFFFF#000000##000000
##B4BB421.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)
#C9B332
Deuteranopia (green-blind)
#C9B54A
Tritanopia (blue-blind)
#C0B0A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4bb42;
/* rgb */ color: rgb(180, 187, 66);
/* oklch */ color: oklch(76.4% 0.142 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdcf7d',
    500: '#b4bb42',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb42;
$custom-light: #cdcf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb42",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 63.471,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76372,
    "c": 0.14235,
    "h": 112.5
  },
  "luminance": 0.45637
}

Semantic roles & 50–950 ramp

primary
#B4BB42
secondary
#9491C8
accent
#50D758
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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