#B4BF37#B4BF37

#B4BF37 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.2% C 0.154 H 114.0°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#B4BF37
RGBrgb(180, 191, 55)
HSLhsl(65, 55%, 48%)
HSVhsv(65, 71%, 75%)
CMYKcmyk(5.8%, 0%, 71.2%, 25.1%)
CIE-LABlab(74.34, -20.61, 63.41)
CIE-LCHlch(74.34, 66.67, 108.00°)
OKLaboklab(77.18% -0.0628 0.1409)
OKLCHoklch(77.18% 0.154 114)
XYZxyz(38.1439, 47.2415, 10.7228)
Luminance0.4724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF37 #4237BF
analogous
#BF8637 #B4BF37 #70BF37
triadic
#B4BF37 #37B4BF #BF37B4
tetradic
#B4BF37 #37BF86 #4237BF #BF3770
square
#B4BF37 #37BF86 #4237BF #BF3770
split-complementary
#B4BF37 #3770BF #8637BF
monochromatic
#5A601C #878F29 #B4BF37 #C9D262 #D9DF91

Accessibility & contrast

On white

2.01
#B4BF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#B4BF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF37
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF37#FFFFFF#000000##000000
##B4BF371.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB61F
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#C0B4A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4bf37;
/* rgb */ color: rgb(180, 191, 55);
/* oklch */ color: oklch(77.2% 0.154 114.0);
Tailwind
colors: {
  custom: {
    50: '#ced277',
    500: '#b4bf37',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf37;
$custom-light: #ced277;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf37",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 55
  },
  "hsl": {
    "h": 64.853,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77176,
    "c": 0.15424,
    "h": 114
  },
  "luminance": 0.47241
}

Semantic roles & 50–950 ramp

primary
#B4BF37
secondary
#8D88CA
accent
#49DF55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B4BF37

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

Preview Lab → · Contrast checker → · Palette generator →

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