#B4BB2E#B4BB2E

#B4BB2E is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.2% C 0.155 H 112.5°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#B4BB2E
RGBrgb(180, 187, 46)
HSLhsl(63, 61%, 46%)
HSVhsv(63, 75%, 73%)
CMYKcmyk(3.7%, 0%, 75.4%, 26.7%)
CIE-LABlab(73.18, -19.04, 65.36)
CIE-LCHlch(73.18, 68.08, 106.24°)
OKLaboklab(76.23% -0.0593 0.1434)
OKLCHoklch(76.23% 0.155 112.5)
XYZxyz(37.0871, 45.4421, 9.4018)
Luminance0.4544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB2E #352EBB
analogous
#BB7B2E #B4BB2E #6DBB2E
triadic
#B4BB2E #2EB4BB #BB2EB4
tetradic
#B4BB2E #2EBB7B #352EBB #BB2E6D
square
#B4BB2E #2EBB7B #352EBB #BB2E6D
split-complementary
#B4BB2E #2E6DBB #7B2EBB
monochromatic
#555916 #858A22 #B4BB2E #CED452 #DCE083

Accessibility & contrast

On white

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

On black

10.09
#B4BB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BB2E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BB2E#FFFFFF#000000##000000
##B4BB2E1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B20A
Deuteranopia (green-blind)
#CAB53A
Tritanopia (blue-blind)
#C0AFA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4bb2e;
/* rgb */ color: rgb(180, 187, 46);
/* oklch */ color: oklch(76.2% 0.155 112.5);
Tailwind
colors: {
  custom: {
    50: '#cecf72',
    500: '#b4bb2e',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb2e;
$custom-light: #cecf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb2e",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 46
  },
  "hsl": {
    "h": 62.979,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76228,
    "c": 0.15519,
    "h": 112.5
  },
  "luminance": 0.45441
}

Semantic roles & 50–950 ramp

primary
#B4BB2E
secondary
#7F7BCA
accent
#44E44C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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