#B4BB2F#B4BB2F

#B4BB2F 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#B4BB2F
RGBrgb(180, 187, 47)
HSLhsl(63, 60%, 46%)
HSVhsv(63, 75%, 73%)
CMYKcmyk(3.7%, 0%, 74.9%, 26.7%)
CIE-LABlab(73.19, -18.99, 65.04)
CIE-LCHlch(73.19, 67.76, 106.28°)
OKLaboklab(76.23% -0.0591 0.1429)
OKLCHoklch(76.23% 0.155 112.5)
XYZxyz(37.1070, 45.4501, 9.5068)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB2F #362FBB
analogous
#BB7C2F #B4BB2F #6EBB2F
triadic
#B4BB2F #2FB4BB #BB2FB4
tetradic
#B4BB2F #2FBB7C #362FBB #BB2F6E
square
#B4BB2F #2FBB7C #362FBB #BB2F6E
split-complementary
#B4BB2F #2F6EBB #7C2FBB
monochromatic
#565916 #858A23 #B4BB2F #CDD453 #DCE084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BB2F#FFFFFF#000000##000000
##B4BB2F1.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)
#C9B20E
Deuteranopia (green-blind)
#CAB53B
Tritanopia (blue-blind)
#C0AFA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4bb2f;
/* rgb */ color: rgb(180, 187, 47);
/* oklch */ color: oklch(76.2% 0.155 112.5);
Tailwind
colors: {
  custom: {
    50: '#cecf73',
    500: '#b4bb2f',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb2f;
$custom-light: #cecf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb2f",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 63,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76234,
    "c": 0.15465,
    "h": 112.5
  },
  "luminance": 0.45449
}

Semantic roles & 50–950 ramp

primary
#B4BB2F
secondary
#807CC9
accent
#45E34D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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