#B4BB40#B4BB40

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

Color values

HEX#B4BB40
RGBrgb(180, 187, 64)
HSLhsl(63, 49%, 49%)
HSVhsv(63, 66%, 73%)
CMYKcmyk(3.7%, 0%, 65.8%, 26.7%)
CIE-LABlab(73.29, -18.11, 58.93)
CIE-LCHlch(73.29, 61.65, 107.08°)
OKLaboklab(76.35% -0.055 0.1329)
OKLCHoklch(76.35% 0.144 112.5)
XYZxyz(37.5192, 45.6149, 11.6776)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB40 #4740BB
analogous
#BB8540 #B4BB40 #77BB40
triadic
#B4BB40 #40B4BB #BB40B4
tetradic
#B4BB40 #40BB85 #4740BB #BB4077
square
#B4BB40 #40BB85 #4740BB #BB4077
split-complementary
#B4BB40 #4077BB #8540BB
monochromatic
#5C6021 #888D30 #B4BB40 #C7CD6C #D8DC99

Accessibility & contrast

On white

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

On black

10.12
#B4BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BB40
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BB40#FFFFFF#000000##000000
##B4BB401.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#C9B548
Tritanopia (blue-blind)
#C0B0A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4bb40;
/* rgb */ color: rgb(180, 187, 64);
/* oklch */ color: oklch(76.4% 0.144 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdcf7b',
    500: '#b4bb40',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb40;
$custom-light: #cdcf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb40",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 63.415,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76355,
    "c": 0.14383,
    "h": 112.5
  },
  "luminance": 0.45614
}

Semantic roles & 50–950 ramp

primary
#B4BB40
secondary
#928FC8
accent
#4FD957
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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