#B5BF37#B5BF37

#B5BF37 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.154 H 113.6°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#B5BF37
RGBrgb(181, 191, 55)
HSLhsl(64, 55%, 48%)
HSVhsv(64, 71%, 75%)
CMYKcmyk(5.2%, 0%, 71.2%, 25.1%)
CIE-LABlab(74.42, -20.19, 63.51)
CIE-LCHlch(74.42, 66.64, 107.63°)
OKLaboklab(77.26% -0.0617 0.141)
OKLCHoklch(77.26% 0.154 113.6)
XYZxyz(38.3776, 47.3620, 10.7338)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF37 #4137BF
analogous
#BF8537 #B5BF37 #71BF37
triadic
#B5BF37 #37B5BF #BF37B5
tetradic
#B5BF37 #37BF85 #4137BF #BF3771
square
#B5BF37 #37BF85 #4137BF #BF3771
split-complementary
#B5BF37 #3771BF #8537BF
monochromatic
#5B601C #888F29 #B5BF37 #C9D262 #DADF91

Accessibility & contrast

On white

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

On black

10.47
#B5BF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BF37
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BF37#FFFFFF#000000##000000
##B5BF371.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5bf37;
/* rgb */ color: rgb(181, 191, 55);
/* oklch */ color: oklch(77.3% 0.154 113.6);
Tailwind
colors: {
  custom: {
    50: '#cfd277',
    500: '#b5bf37',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf37;
$custom-light: #cfd277;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf37",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 55
  },
  "hsl": {
    "h": 64.412,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77256,
    "c": 0.15396,
    "h": 113.6
  },
  "luminance": 0.47361
}

Semantic roles & 50–950 ramp

primary
#B5BF37
secondary
#8C88CA
accent
#49DF54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BF37

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

Preview Lab → · Contrast checker → · Palette generator →

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