#B4BB1E#B4BB1E

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

Color values

HEX#B4BB1E
RGBrgb(180, 187, 30)
HSLhsl(63, 72%, 43%)
HSVhsv(63, 84%, 73%)
CMYKcmyk(3.7%, 0%, 84%, 26.7%)
CIE-LABlab(73.11, -19.60, 69.74)
CIE-LCHlch(73.11, 72.44, 105.69°)
OKLaboklab(76.15% -0.062 0.15)
OKLCHoklch(76.15% 0.162 112.5)
XYZxyz(36.8284, 45.3386, 8.0392)
Luminance0.4534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB1E #251EBB
analogous
#BB731E #B4BB1E #66BB1E
triadic
#B4BB1E #1EB4BB #BB1EB4
tetradic
#B4BB1E #1EBB73 #251EBB #BB1E66
square
#B4BB1E #1EBB73 #251EBB #BB1E66
split-complementary
#B4BB1E #1E66BB #731EBB
monochromatic
#4E520D #818616 #B4BB1E #D7DF37 #E2E76C

Accessibility & contrast

On white

2.09
#B4BB1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#B4BB1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BB1E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BB1E#FFFFFF#000000##000000
##B4BB1E1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CAB52F
Tritanopia (blue-blind)
#C1AFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4bb1e;
/* rgb */ color: rgb(180, 187, 30);
/* oklch */ color: oklch(76.2% 0.162 112.5);
Tailwind
colors: {
  custom: {
    50: '#cfcf6c',
    500: '#b4bb1e',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb1e;
$custom-light: #cfcf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb1e",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 30
  },
  "hsl": {
    "h": 62.675,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.76153,
    "c": 0.16231,
    "h": 112.5
  },
  "luminance": 0.45338
}

Semantic roles & 50–950 ramp

primary
#B4BB1E
secondary
#6C67CD
accent
#39EF41
background
#FDFCF6
surface
#FAF9EC
border
#D3D2C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B4BB1E

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

Preview Lab → · Contrast checker → · Palette generator →

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